public class NullResultMatcher extends Object implements ResultMatcher
ResultMatcher
which always passes.
This is useful if the expected result of an operation is not known.Constructor and Description |
---|
NullResultMatcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
isMatch(Geometry geom,
String opName,
Object[] args,
Result actualResult,
Result expectedResult,
double tolerance)
Always reports a match.
|
public boolean isMatch(Geometry geom, String opName, Object[] args, Result actualResult, Result expectedResult, double tolerance)
isMatch
in interface ResultMatcher
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 © 2022. All rights reserved.