Skip to content
Snippets Groups Projects
Commit f2c3789b authored by noapo's avatar noapo
Browse files

correction test

parent d3afedbf
Branches
No related tags found
No related merge requests found
Pipeline #10494 passed
......@@ -14,4 +14,10 @@ public class SphereTest {
assertEquals(14.137166941154069, mySphere.computeVolume(), 0.0);
}
@Test
public void testDistanceSquaredTo() throws Exception {
Sphere mySphere = new Sphere(1.5);
Sphere otherSphere = new Sphere(1.5);
assertEquals(0.0, mySphere.distanceSquaredTo(otherSphere), 0.0);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment