What is the correct way to perform a greaterThan comparison using assertThat and Hamcrest?

后端 未结 0 1303
南方客
南方客 2020-12-22 04:44

Test Case - see the comment //won\'t compile

@Test
public void testHamcrestLongandInt(){
    int x = 100;
    long y = 50;
    //won\'t compile:
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题