Changed test to work with the new getHeading method, and removed an unused import that was causing tests to fail

- There was a com.sun import that we were no longer using that was causing issues

Tags: story[466]
This commit is contained in:
Michael Rausch
2017-03-24 20:33:53 +13:00
parent 5dd5e50738
commit c33586e7f5
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ public class EventTest {
Boat boat = new Boat("testBoat");
Event event = new Event(1231242.2, boat, new SingleMark("mark1", 142.5, 122.1), new SingleMark("mark2", 121.9,99.2), 0);
assertEquals(event.getBoatHeading(), 221.9733862944651, 1e-15);
assertEquals(event.getBoatHeading(), 318.02661370553494g, 1e-15);
}
@Test