* Verify that the overlap of two continuous intervals with exclusive bounds
* intersect correctly.
*/
@Test
public void intersectionOverlapConCon1() {
final OWLRealInterval a = interval( null, 0.51, false, false, LineType.CONTINUOUS );
final OWLRealInterval b = interval( 0.49, null, false, false, LineType.CONTINUOUS );
final OWLRealInterval expected = interval( 0.49, 0.51, false, false, LineType.CONTINUOUS );
assertEquals( expected, a.intersection( b ) );
assertEquals( expected, b.intersection( a ) );
assertTrue( a.intersection( b ).contains( BigDecimal.valueOf( 0.50 ) ) );
assertTrue( b.intersection( a ).contains( BigDecimal.valueOf( 0.50 ) ) );