mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-27 16:06:39 +00:00
fixed tests that depended on mark names of gates to be "...(left)" and "...(right)" which broke due to changing those names to "...(1)" and "...(2)"
This commit is contained in:
+4
-4
@@ -65,10 +65,10 @@ public class ManeuverAnalysisIDMChampionsFinalTest extends AbstractManeuverDetec
|
||||
TimePoint epoch = new MillisecondsTimePoint(0l);
|
||||
TimePoint now = MillisecondsTimePoint.now();
|
||||
Map<String, Position> markPositions = new HashMap<String, Position>();
|
||||
markPositions.put("G2 Start-Finish (left)", new DegreePosition(53.96003300000019, 10.878697000000084));
|
||||
markPositions.put("G2 Start-Finish (right)", new DegreePosition(53.9674420000693, 10.894410000058738));
|
||||
markPositions.put("G2 Mark4 (right)", new DegreePosition(53.96002200000019, 10.878875000000063));
|
||||
markPositions.put("G2 Mark4 (left)", new DegreePosition(53.9599880000002, 10.878665000000069));
|
||||
markPositions.put("G2 Start-Finish (1)", new DegreePosition(53.96003300000019, 10.878697000000084));
|
||||
markPositions.put("G2 Start-Finish (2)", new DegreePosition(53.9674420000693, 10.894410000058738));
|
||||
markPositions.put("G2 Mark4 (2)", new DegreePosition(53.96002200000019, 10.878875000000063));
|
||||
markPositions.put("G2 Mark4 (1)", new DegreePosition(53.9599880000002, 10.878665000000069));
|
||||
markPositions.put("G2 Mark1", new DegreePosition(53.96355800000006, 10.885751999999806));
|
||||
for (Waypoint w : race.getRace().getCourse().getWaypoints()) {
|
||||
for (Mark mark : w.getMarks()) {
|
||||
|
||||
+2
-2
@@ -54,8 +54,8 @@ public class ManeuverDetectionOnMdM2011SemifinalTest extends OnlineTracTracBased
|
||||
TimePoint epoch = new MillisecondsTimePoint(0l);
|
||||
TimePoint now = MillisecondsTimePoint.now();
|
||||
Map<String, Position> markPositions = new HashMap<String, Position>();
|
||||
markPositions.put("CR Start (left)", new DegreePosition(53.562944999999985, 10.010104000000046));
|
||||
markPositions.put("CR Start (right)", new DegreePosition(53.562944999999985, 10.010104000000046));
|
||||
markPositions.put("CR Start (1)", new DegreePosition(53.562944999999985, 10.010104000000046));
|
||||
markPositions.put("CR Start (2)", new DegreePosition(53.562944999999985, 10.010104000000046));
|
||||
markPositions.put("Leeward mark", new DegreePosition(53.562145000000015, 10.009252));
|
||||
markPositions.put("Luvtonne", new DegreePosition(53.560581899999995, 10.005657));
|
||||
for (Waypoint w : getTrackedRace().getRace().getCourse().getWaypoints()) {
|
||||
|
||||
+6
-6
@@ -157,13 +157,13 @@ public abstract class OnlineTracTracBasedTest extends AbstractTracTracLiveTest {
|
||||
TimePoint epoch = new MillisecondsTimePoint(0l);
|
||||
TimePoint now = MillisecondsTimePoint.now();
|
||||
Map<String, Position> markPositions = new HashMap<String, Position>();
|
||||
markPositions.put("K Start (left)", new DegreePosition(54.497439439999994, 10.205943000000001));
|
||||
markPositions.put("K Start (right)", new DegreePosition(54.500209999999996, 10.20206472));
|
||||
markPositions.put("K Mark4 (right)", new DegreePosition(54.499422999999986, 10.200381692));
|
||||
markPositions.put("K Mark4 (left)", new DegreePosition(54.498954999999995, 10.200982));
|
||||
markPositions.put("K Start (1)", new DegreePosition(54.497439439999994, 10.205943000000001));
|
||||
markPositions.put("K Start (2)", new DegreePosition(54.500209999999996, 10.20206472));
|
||||
markPositions.put("K Mark4 (2)", new DegreePosition(54.499422999999986, 10.200381692));
|
||||
markPositions.put("K Mark4 (1)", new DegreePosition(54.498954999999995, 10.200982));
|
||||
markPositions.put("K Mark1", new DegreePosition(54.489738990000006, 10.17079423000015));
|
||||
markPositions.put("K Finish (left)", new DegreePosition(54.48918199999999, 10.17003714));
|
||||
markPositions.put("K Finish (right)", new DegreePosition(54.48891756, 10.170632146666675));
|
||||
markPositions.put("K Finish (1)", new DegreePosition(54.48918199999999, 10.17003714));
|
||||
markPositions.put("K Finish (2)", new DegreePosition(54.48891756, 10.170632146666675));
|
||||
for (Waypoint w : race.getRace().getCourse().getWaypoints()) {
|
||||
for (Mark mark : w.getMarks()) {
|
||||
race.getOrCreateTrack(mark).addGPSFix(new GPSFixImpl(markPositions.get(mark.getName()), epoch));
|
||||
|
||||
Reference in New Issue
Block a user