use of org.apache.jena.geosparql.implementation.DimensionInfo in project jena by apache.
the class SfWithinFFTest method testPermittedTopology_point_polygon.
/**
* Test of permittedTopology method, of class SfWithinFF.
*/
@Test
public void testPermittedTopology_point_polygon() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_POINT;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_POLYGON;
SfWithinFF instance = new SfWithinFF();
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 SfWithinFFTest method testPermittedTopology_linestring_linestring.
/**
* Test of permittedTopology method, of class SfWithinFF.
*/
@Test
public void testPermittedTopology_linestring_linestring() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_LINESTRING;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_LINESTRING;
SfWithinFF instance = new SfWithinFF();
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 SfWithinFFTest method testPermittedTopology_point_linestring.
/**
* Test of permittedTopology method, of class SfWithinFF.
*/
@Test
public void testPermittedTopology_point_linestring() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_POINT;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_LINESTRING;
SfWithinFF instance = new SfWithinFF();
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 SfWithinFFTest method testPermittedTopology_polygon_polygon.
/**
* Test of permittedTopology method, of class SfWithinFF.
*/
@Test
public void testPermittedTopology_polygon_polygon() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_POLYGON;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_POLYGON;
SfWithinFF instance = new SfWithinFF();
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 SfWithinFFTest method testPermittedTopology_polygon_linestring.
/**
* Test of permittedTopology method, of class SfWithinFF.
*/
@Test
public void testPermittedTopology_polygon_linestring() {
DimensionInfo sourceDimensionInfo = DimensionInfo.XY_POLYGON;
DimensionInfo targetDimensionInfo = DimensionInfo.XY_LINESTRING;
SfWithinFF instance = new SfWithinFF();
boolean expResult = true;
boolean result = instance.permittedTopology(sourceDimensionInfo, targetDimensionInfo);
assertEquals(expResult, result);
}
Aggregations