Package com.clarkparsia.pellet.datatypes.types.real

Examples of com.clarkparsia.pellet.datatypes.types.real.IntegerInterval.less()


   * Test getting a sub-interval less than an integer.
   */
  @Test
  public void less1() {
    final IntegerInterval i = interval( 1, 5 );
    assertEquals( interval( 1, 3 ), i.less( 4 ) );
  }

  /**
   * Test getting a sub-interval less than the upper endpoint of an interval
   */
 
View Full Code Here


   * Test getting a sub-interval less than the upper endpoint of an interval
   */
  @Test
  public void less2() {
    final IntegerInterval i = interval( 1, 5 );
    assertEquals( interval( 1, 4 ), i.less( 5 ) );
  }

  @Test
  public void unboundContainsAll() {
    final IntegerInterval interval = new IntegerInterval( null, null );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.