Assert.assertEquals(1.0, bubble.function(5, 4),0.1);
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);
}