Assert.assertEquals(1.0, bubble.function(5, 5),0.1);
}
public void testGaussian() throws Throwable {
RadialBasisFunction radial = new GaussianFunction(0.0,1.0,1.0);
NeighborhoodRBF1D bubble = new NeighborhoodRBF1D(radial);
Assert.assertEquals(0.0, bubble.function(5, 0),0.1);
Assert.assertEquals(1.0, bubble.function(5, 5),0.1);
Assert.assertEquals(0.6, bubble.function(5, 4),0.1);
}