SegmentGenerator { static boolean greaterThan(BigInteger big0, BigInteger big1) { return big0.compareTo(big1) > 0; } SegmentGenerator(String partitioner);   SegmentGenerator(BigInteger rangeMin, BigInteger rangeMax);   }
@Test public void testGreaterThan() throws Exception { BigInteger one = BigInteger.ONE; BigInteger ten = BigInteger.TEN; assertTrue(SegmentGenerator.greaterThan(ten, one)); assertFalse(SegmentGenerator.greaterThan(one, ten)); assertFalse(SegmentGenerator.greaterThan(one, one)); BigInteger minusTen = BigInteger.TEN.negate(); assertFalse(SegmentGenerator.greaterThan(minusTen, one)); assertTrue(SegmentGenerator.greaterThan(one, minusTen)); }