public interface ResultMatcher
Result
s match, within a given tolerance.
The matching may also take into account the original input parameters
to the geometry method.Modifier and Type | Method and Description |
---|---|
boolean |
isMatch(Geometry geom,
String opName,
Object[] args,
Result actualResult,
Result expectedResult,
double tolerance)
Tests whether the actual and expected results match well
enough for the test to be considered as passed.
|
boolean isMatch(Geometry geom, String opName, Object[] args, Result actualResult, Result expectedResult, double tolerance)
geom
- the target geometryopName
- the operation performedargs
- the input arguments to the operationactualResult
- the actual computed resultexpectedResult
- the expected result of the testtolerance
- the tolerance for the testCopyright © 2017. All rights reserved.