@Test
public void testComparison2() throws IOException {
WritableComparator comparator = new PairOfLongInt.Comparator();
PairOfLongInt pair1 = new PairOfLongInt(1L, 2);
PairOfLongInt pair2 = new PairOfLongInt(1L, 2);
PairOfLongInt pair3 = new PairOfLongInt(1L, 1);
PairOfLongInt pair4 = new PairOfLongInt(0L, 9);
PairOfLongInt pair5 = new PairOfLongInt(9L, 0);
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);