Fixed build issues caused by changes to a yacht step turn constant.

#bug
This commit is contained in:
Calum
2017-08-13 20:40:18 +12:00
parent 0ee12021e2
commit 2d5492601f
2 changed files with 3 additions and 18 deletions
+3 -3
View File
@@ -37,12 +37,12 @@ public class YachtTest {
for (Double begin : values.keySet()) {
y1.setHeading(begin);
y1.tackGybe(windDirection);
for (int i = 0; i < 50; i++) {
for (int i = 0; i < 200; i++) {
y1.runAutoPilot();
}
assertEquals(values.get(begin), y1.getHeading(), 5.0);
}
}
@Test
@@ -70,7 +70,7 @@ public class YachtTest {
System.out.println(begin);
y1.setHeading(begin);
y1.turnToVMG();
for (int i = 0; i < 50; i++) {
for (int i = 0; i < 200; i++) {
y1.runAutoPilot();
System.out.println(y1.getHeading());
}