Class NullResultMatcher
- java.lang.Object
-
- org.locationtech.jtstest.testrunner.NullResultMatcher
-
- All Implemented Interfaces:
ResultMatcher
public class NullResultMatcher extends Object implements ResultMatcher
AResultMatcherwhich always passes. This is useful if the expected result of an operation is not known.- Author:
- mbdavis
-
-
Constructor Summary
Constructors Constructor Description NullResultMatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisMatch(Geometry geom, String opName, Object[] args, Result actualResult, Result expectedResult, double tolerance)Always reports a match.
-
-
-
Method Detail
-
isMatch
public boolean isMatch(Geometry geom, String opName, Object[] args, Result actualResult, Result expectedResult, double tolerance)
Always reports a match.- Specified by:
isMatchin interfaceResultMatcher- Parameters:
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 test- Returns:
- true always
-
-