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

test

parent 7c6de370
No related branches found
No related tags found
No related merge requests found
Pipeline #10490 passed
......@@ -21,4 +21,11 @@ public class SphereTest {
assertEquals(1, s1.distanceTo(s2));
}
@Test
public void testInContactWith() throws Exception {
Sphere s1 = new Sphere(1, new Point3d(10, 10, 10));
Sphere s2 = new Sphere(2, new Point3d(10, 10, 11));
assertEquals(true , s1.inContactWith(s2));
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment