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

Test constructeur

parent 00b6b63f
Branches main
No related tags found
No related merge requests found
Pipeline #10487 passed
...@@ -47,4 +47,11 @@ public class SphereTest { ...@@ -47,4 +47,11 @@ public class SphereTest {
assertTrue(mySphere.inContactWith(otherSphere)); assertTrue(mySphere.inContactWith(otherSphere));
} }
@Test
public void testSphere(){
Sphere mySphere = new Sphere();
assertEquals(0.0, mySphere.getRadius(), 0.0);
assertEquals(new Point3d(0.0, 0.0, 0.0), mySphere.getPos());
}
} }
\ 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