コード例 #1
0
 @Test
 public void testCompareEquals() throws Exception {
   assertThat(comparator.compare(temperaturePair2, temperaturePair2), is(0));
 }
コード例 #2
0
 @Test
 public void testCompareGreater() throws Exception {
   assertThat(comparator.compare(temperaturePair2, temperaturePair), is(1));
 }