* @param a Geometry object
* @param b Geometry object
* @return a boolean indicating whether the result matched the expectation
*/
public boolean doOperation(Geometry a, Geometry b) {
GeometryImpl geom1 = (GeometryImpl) setGeomArg(arg1, a, b);
GeometryImpl geom2 = (GeometryImpl) setGeomArg(arg2, a, b);
double result = Double.NaN;
result = geom1.distance(geom2);
// return if the result is <= the max distance
actualResult = (result <= Double.parseDouble(arg3));
return (actualResult == expectedResult);