TPSInterpolation interp = new TPSInterpolation(pointsAndValues, 100, 100, env);
// We can create and show a coverage image of the interpolation within the Envelope
GridCoverageFactory gcf = new GridCoverageFactory();
GridCoverage2D coverage = gcf.create("Intepolated Coverage", interp.get2DGrid(), env);//.show();
//Assert.assertEquals( Double.parseDouble((coverage.evaluate(a, (Set)(new HashSet())).iterator().next()).toString()), pointsAndValues.get(a).floatValue(), 0.01);
Assert.assertEquals( coverage.evaluate(a, new float[1])[0], pointsAndValues.get(a).floatValue(), 0.01);