Fixed Mark rounding Algorithm

Algorithm now knows when a player has to round a gate or just pass right through

#story[1124] #pair[wmu16, hyi25]
This commit is contained in:
William Muir
2017-08-10 12:02:19 +12:00
parent a545e9dbc3
commit 249ad9e5c0
3 changed files with 45 additions and 28 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ public class YachtTest {
// @Test
// public void testDistanceToNextMark() {
// Double actual, expected;
// actual = yacht.calcDistanceToNextMark();
// actual = yacht.calcDistanceToCurrentMark();
// expected = 927d;
// assertEquals(expected, actual, expected * toleranceRatio);
// }