diff options
| author | mokha <mokha@cisco.com> | 2019-05-05 19:48:09 -0600 |
|---|---|---|
| committer | mokha <mokha@cisco.com> | 2019-05-05 19:48:09 -0600 |
| commit | 99a28d2dba93642e89a62ecf905a3bd4f138318d (patch) | |
| tree | ee10a7df683642a42991896bbec5ced501a2abd1 /src/CartesianCoordinateSystemTest.java | |
| parent | 3c2be35d16d7482442911f5b06b68512f86e15b5 (diff) | |
split code into directories closer to what the instructor wants
Diffstat (limited to 'src/CartesianCoordinateSystemTest.java')
| -rw-r--r-- | src/CartesianCoordinateSystemTest.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/CartesianCoordinateSystemTest.java b/src/CartesianCoordinateSystemTest.java deleted file mode 100644 index 6696ce1..0000000 --- a/src/CartesianCoordinateSystemTest.java +++ /dev/null @@ -1,22 +0,0 @@ -package ca.mokhan.assignment1; - -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)); - } -} |
