Package com.clarkparsia.pellet.datatypes

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


   * Test getting a sub-interval less than an integer on an integer line.
   */
  @Test
  public void lessInt1() {
    final OWLRealInterval i = interval( 1, 5, true, true, LineType.INTEGER_ONLY );
    assertEquals( interval( 1, 3, true, true, LineType.INTEGER_ONLY ), i.less( 4 ) );
  }

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


   * interval
   */
  @Test
  public void lessInt2() {
    final OWLRealInterval i = interval( 1, 5, true, true, LineType.INTEGER_ONLY );
    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,
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.