JavaDoc fixes and larger code cleanup.

This commit is contained in:
2014-11-11 16:58:43 +01:00
parent 7c896fea8d
commit 837c4fea32
69 changed files with 321 additions and 377 deletions

View File

@@ -8,8 +8,12 @@ import static org.junit.Assert.assertTrue;
public class MathematicsTest {
@Test
public void testEuclidianDist() throws Exception {
public void testEuclideanDist() throws Exception {
double[] values1 = {6.0, 51.0, 3.0};
double[] values2 = {1.9, 99.0, 2.9};
assertEquals(48.174889, Mathematics.euclideanDist(values1, values2), 0.00001);
assertEquals(48.174889, Mathematics.euclideanDist(values2, values1), 0.00001);
}
@Test