package ca.mokhan.test; import Q3.*; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; public class CartesianCoordinateSystemTest extends TestCase { private CartesianCoordinateSystem subject; public CartesianCoordinateSystemTest(String testName) { super(testName); this.subject = new CartesianCoordinateSystem(); } public static Test suite() { return new TestSuite(CartesianCoordinateSystemTest.class); } public void testDistanceBetweenPoints() { assertEquals(7.28, subject.calculateDistance(-2, -3, -4, 4)); } }