mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-20 04:35:32 +00:00
fixed first of the two new test cases after making CourseImpl constructor more strict
This commit is contained in:
+3
-2
@@ -35,8 +35,9 @@ public class SimpleDomainFactoryTest {
|
||||
Race race = new RaceImpl("1234", "Race 1234");
|
||||
Iterable<Competitor> competitors = Collections.emptyList();
|
||||
StartList startList = new StartListImpl("1234", competitors);
|
||||
Mark mark = new MarkImpl("M1", 0, Collections.singleton("D1"));
|
||||
List<Mark> marks = Collections.singletonList(mark);
|
||||
Mark mark1 = new MarkImpl("M1", 0, Arrays.asList("D1", "D2"));
|
||||
Mark mark2 = new MarkImpl("M1", 0, Arrays.asList("D3", "D4"));
|
||||
List<Mark> marks = Arrays.asList(mark1, mark2);
|
||||
Course course = new CourseImpl("1234", marks);
|
||||
RaceDefinition raceDefinition = domainFactory.createRaceDefinition(event, race, startList, course);
|
||||
ArrayList<Waypoint> waypoints1 = new ArrayList<Waypoint>();
|
||||
|
||||
Reference in New Issue
Block a user