public class EqualityResultMatcher extends Object implements ResultMatcher
ResultMatcher which compares result for equality,
up to the given tolerance.| Constructor and Description |
|---|
EqualityResultMatcher() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMatch(Geometry geom,
String opName,
Object[] args,
Result actualResult,
Result expectedResult,
double tolerance)
Tests whether the two results are equal within the given
tolerance.
|
public boolean isMatch(Geometry geom, String opName, Object[] args, Result actualResult, Result expectedResult, double tolerance)
isMatch in interface ResultMatchergeom - 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 © 2025. All rights reserved.