Skip to content
Snippets Groups Projects
Commit b1cc83ee authored by DOAN Lancelot's avatar DOAN Lancelot
Browse files

tets

parent 4934d2a8
Branches
No related tags found
No related merge requests found
Pipeline #10497 failed
...@@ -28,6 +28,14 @@ public class SphereTest { ...@@ -28,6 +28,14 @@ public class SphereTest {
assertEquals(true , s1.inContactWith(s2)); assertEquals(true , s1.inContactWith(s2));
} }
@Test
public void testInContactWith2() throws Exception {
Sphere s1 = new Sphere(1, new Point3d(10, 10, 20));
Sphere s2 = new Sphere(2, new Point3d(10, 10, 11));
assertEquals(false , s1.inContactWith(s2));
}
@Test @Test
public void testSphere() throws Exception { public void testSphere() throws Exception {
Point3d p = new Point3d(10, 10, 10); Point3d p = new Point3d(10, 10, 10);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment