@@ -0,0 +1,547 @@
+import org.junit.Test;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertTrue;%0A%0A/**%0A * Created by bing on 6/6/17.%0A */%0Apublic class DataGeneratorTest %7B%0A    @Test%0A    public void generateCentroidsTest() %7B%0A        double%5B%5D%5B%5D c = DataGenerator.generateCentroids(5, 2, 10, 20);%0A%0A        assertEquals(5, c.length);%0A        assertEquals(2, c%5B0%5D.length);%0A%0A        for (double%5B%5D d : c) %7B%0A            for (double e : d) %7B%0A                assertTrue(e%3C=20);%0A                assertTrue(e%3E=10);%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

create DataGeneratorTest Changes to be committed: new file: src/test/java/DataGeneratorTest.java