Assert.assertEquals(1.0, bubble.function(5, 5),0.1);
}
public void testSingle() throws Throwable {
NeighborhoodSingle bubble = new NeighborhoodSingle();
Assert.assertEquals(0.0, bubble.function(5, 0),0.1);
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);