Skip to content
Snippets Groups Projects
Commit 5ae89a7b authored by Noah Mandler's avatar Noah Mandler
Browse files

Test inContactWith suite

parent adf8cd60
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
...@@ -45,6 +45,9 @@ public class SphereTest { ...@@ -45,6 +45,9 @@ public class SphereTest {
Sphere mySphere = new Sphere(1.5); Sphere mySphere = new Sphere(1.5);
Sphere otherSphere = new Sphere(1.5, new Point3d(1.0, 1.0, 1.0)); Sphere otherSphere = new Sphere(1.5, new Point3d(1.0, 1.0, 1.0));
assertTrue(mySphere.inContactWith(otherSphere)); assertTrue(mySphere.inContactWith(otherSphere));
Sphere otherSphere2 = new Sphere(1.5, new Point3d(3.0, 3.0, 3.0));
assertFalse(mySphere.inContactWith(otherSphere2));
} }
@Test @Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment