rdf4j-postgis  Version 0.1.0.0
MaxMTest Class Reference
Collaboration diagram for MaxMTest:

Public Member Functions

void testMMax ()
 

Static Public Attributes

static final String testPoint ="LINESTRING M(1 2 3, 4 5 6,7 8 9)"
 

Member Function Documentation

◆ testMMax()

void testMMax ( )
17  {
18  MMax instance=new MMax();
19  ValueFactory valfac=SimpleValueFactory.getInstance();
20  Value geo=valfac.createLiteral(testPoint, WKTDatatype.LiteralIRI);
21  Value result=instance.evaluate(valfac, geo);
22  Value expResult=valfac.createLiteral(9.);
23  assertEquals(expResult, result);
24  }
static final String testPoint
Definition: MaxMTest.java:14

References GeometricDoubleAttributeFunction.evaluate(), WKTDatatype.LiteralIRI, and MaxMTest.testPoint.

Member Data Documentation

◆ testPoint

final String testPoint ="LINESTRING M(1 2 3, 4 5 6,7 8 9)"
static

Referenced by MaxMTest.testMMax().