@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));
}