@Test
public void testComparison2() throws IOException {
WritableComparator comparator = new PairOfLongFloat.Comparator();
PairOfLongFloat pair1 = new PairOfLongFloat(1L, 2.0f);
PairOfLongFloat pair2 = new PairOfLongFloat(1L, 2.0f);
PairOfLongFloat pair3 = new PairOfLongFloat(1L, 1.0f);
PairOfLongFloat pair4 = new PairOfLongFloat(0L, 9.0f);
PairOfLongFloat pair5 = new PairOfLongFloat(9L, 0.0f);
assertTrue(WritableComparatorTestHarness.compare(comparator, pair1, pair2) == 0);
assertTrue(WritableComparatorTestHarness.compare(comparator, pair1, pair3) > 0);
assertTrue(WritableComparatorTestHarness.compare(comparator, pair1, pair4) > 0);
assertTrue(WritableComparatorTestHarness.compare(comparator, pair1, pair5) < 0);