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

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


   * Test getting a sub-interval greater than an integer on an integer line.
   */
  @Test
  public void greater1() {
    final IntegerInterval i = interval( 1, 5 );
    assertEquals( interval( 3, 5 ), i.greater( 2 ) );
  }

  /**
   * Test getting a sub-interval greater than the lower endpoint of an integer
   * line.
 
View Full Code Here


   * line.
   */
  @Test
  public void greater2() {
    final IntegerInterval i = interval( 1, 5 );
    assertEquals( interval( 2, 5 ), i.greater( 1 ) );
  }

  /**
   * Verify that endpoints are contained within the interval.
   */
 
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.