use of org.apache.jena.geosparql.implementation.DimensionInfo in project jena by apache.
the class SfContainsFFTest method testPermittedTopology_linestring_point.
/**
* Test of permittedTopology method, of class SfContainsFF.
*/
@Test
public void testPermittedTopology_linestring_point() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_LINESTRING;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_POINT;
SfContainsFF instance = new SfContainsFF();
boolean expResult = true;
boolean result = instance.permittedTopology(sourceDimensionInfo, targetDimensionInfo);
assertEquals(expResult, result);
}
use of org.apache.jena.geosparql.implementation.DimensionInfo in project jena by apache.
the class SfDisjointFFTest method testPermittedTopology_polygon_polygon.
/**
* Test of permittedTopology method, of class SfDisjointFF.
*/
@Test
public void testPermittedTopology_polygon_polygon() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_POLYGON;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_POLYGON;
SfDisjointFF instance = new SfDisjointFF();
boolean expResult = true;
boolean result = instance.permittedTopology(sourceDimensionInfo, targetDimensionInfo);
assertEquals(expResult, result);
}
use of org.apache.jena.geosparql.implementation.DimensionInfo in project jena by apache.
the class SfDisjointFFTest method testPermittedTopology_linestring_polygon.
/**
* Test of permittedTopology method, of class SfDisjointFF.
*/
@Test
public void testPermittedTopology_linestring_polygon() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_LINESTRING;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_POLYGON;
SfDisjointFF instance = new SfDisjointFF();
boolean expResult = true;
boolean result = instance.permittedTopology(sourceDimensionInfo, targetDimensionInfo);
assertEquals(expResult, result);
}
use of org.apache.jena.geosparql.implementation.DimensionInfo in project jena by apache.
the class SfIntersectsFFTest method testPermittedTopology_polygon_linestring.
/**
* Test of permittedTopology method, of class SfIntersectsFF.
*/
@Test
public void testPermittedTopology_polygon_linestring() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_POLYGON;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_LINESTRING;
SfIntersectsFF instance = new SfIntersectsFF();
boolean expResult = true;
boolean result = instance.permittedTopology(sourceDimensionInfo, targetDimensionInfo);
assertEquals(expResult, result);
}
use of org.apache.jena.geosparql.implementation.DimensionInfo in project jena by apache.
the class SfIntersectsFFTest method testPermittedTopology_polygon_polygon.
/**
* Test of permittedTopology method, of class SfIntersectsFF.
*/
@Test
public void testPermittedTopology_polygon_polygon() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_POLYGON;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_POLYGON;
SfIntersectsFF instance = new SfIntersectsFF();
boolean expResult = true;
boolean result = instance.permittedTopology(sourceDimensionInfo, targetDimensionInfo);
assertEquals(expResult, result);
}
Aggregations