@Test
public void testLowerThan() throws Exception {

  BigInteger one = BigInteger.ONE;
  BigInteger ten = BigInteger.TEN;
  assertTrue(SegmentGenerator.lowerThan(one, ten));
  assertFalse(SegmentGenerator.lowerThan(ten, one));
  assertFalse(SegmentGenerator.lowerThan(ten, ten));
  BigInteger minusTen = BigInteger.TEN.negate();
  assertTrue(SegmentGenerator.lowerThan(minusTen, one));
  assertFalse(SegmentGenerator.lowerThan(one, minusTen));
}