Package com.clarkparsia.pellet.datatypes

Examples of com.clarkparsia.pellet.datatypes.OWLRealInterval.greater()


   * Test getting a sub-interval greater than an integer on an integer line.
   */
  @Test
  public void greaterInt1() {
    final OWLRealInterval i = interval( 1, 5, true, true, LineType.INTEGER_ONLY );
    assertEquals( interval( 3, 5, true, true, LineType.INTEGER_ONLY ), 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 greaterInt2() {
    final OWLRealInterval i = interval( 1, 5, true, true, LineType.INTEGER_ONLY );
    assertEquals( interval( 2, 5, true, true, LineType.INTEGER_ONLY ), i.greater( 1 ) );
  }

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