assertEquals( interval( 1, 4, true, true, LineType.INTEGER_ONLY ), i.less( 5 ) );
}
@Test
public void unboundContainsAll() {
final OWLRealInterval interval = new OWLRealInterval( null, null, false, false,
LineType.CONTINUOUS );
assertFalse( interval.boundLower() );
assertFalse( interval.boundUpper() );
assertFalse( interval.isPoint() );
assertTrue( interval.contains( -1 ) );
assertTrue( interval.contains( 0 ) );
assertTrue( interval.contains( 1 ) );
assertTrue( interval.contains( BigDecimal.valueOf( -0.31d ) ) );
assertTrue( interval.contains( BigDecimal.valueOf( 0.13d ) ) );
assertTrue( interval.contains( BigDecimal.valueOf( Long.MAX_VALUE ).add(
BigDecimal.valueOf( Long.MAX_VALUE ) ).add( BigDecimal.valueOf( 0.123d ) ) ) );
}