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