22 ShortestLine instance=
new ShortestLine();
23 ValueFactory valfac=SimpleValueFactory.getInstance();
24 Value geo=valfac.createLiteral(
testGeom, WKTDatatype.LiteralIRI);
25 Value geo2=valfac.createLiteral(
testGeom2, WKTDatatype.LiteralIRI);
26 Value
result=instance.evaluate(valfac, geo,geo2);
27 Value expResult=valfac.createLiteral(0.);
28 assertEquals(expResult,
result);
static final String testGeom
Definition: ShortestLineTest.java:14
static final String testGeom2
Definition: ShortestLineTest.java:16
static final String result
Definition: ShortestLineTest.java:18