use of org.apache.jena.geosparql.implementation.DimensionInfo in project jena by apache.
the class SfTouchesFFTest method testPermittedTopology_polygon_polygon.
/**
* Test of permittedTopology method, of class SfTouchesFF.
*/
@Test
public void testPermittedTopology_polygon_polygon() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_POLYGON;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_POLYGON;
SfTouchesFF instance = new SfTouchesFF();
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 SfTouchesFFTest method testPermittedTopology_linestring_point.
/**
* Test of permittedTopology method, of class SfTouchesFF.
*/
@Test
public void testPermittedTopology_linestring_point() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_LINESTRING;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_POINT;
SfTouchesFF instance = new SfTouchesFF();
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 SfTouchesFFTest method testPermittedTopology_linestring_polygon.
/**
* Test of permittedTopology method, of class SfTouchesFF.
*/
@Test
public void testPermittedTopology_linestring_polygon() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_LINESTRING;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_POLYGON;
SfTouchesFF instance = new SfTouchesFF();
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 SfOverlapsFFTest method testPermittedTopology_polygon_polygon.
/**
* Test of permittedTopology method, of class SfOverlapsFF.
*/
@Test
public void testPermittedTopology_polygon_polygon() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_POLYGON;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_POLYGON;
SfOverlapsFF instance = new SfOverlapsFF();
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 SfOverlapsFFTest method testPermittedTopology_point_polygon.
/**
* Test of permittedTopology method, of class SfOverlapsFF.
*/
@Test
public void testPermittedTopology_point_polygon() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_POINT;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_POLYGON;
SfOverlapsFF instance = new SfOverlapsFF();
boolean expResult = false;
boolean result = instance.permittedTopology(sourceDimensionInfo, targetDimensionInfo);
assertEquals(expResult, result);
}
Aggregations