Skip to content

Commit

Permalink
Fix unit tests based on testagency GTFS
Browse files Browse the repository at this point in the history
  • Loading branch information
viljaminurminen-cgi committed Mar 14, 2023
1 parent 326059e commit a4fa84c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void testGetAllFrequencies() {
public void testGetRoutes() {
Collection<Route> routes = subject.getRoutes().values();

assertEquals(18, routes.size());
assertEquals(19, routes.size());
assertEquals("Route{agency:1 BUS 1}", first(routes).toString());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void testGetAllStations() {
public void testGetAllStops() {
Collection<RegularStop> stops = subject.stopModel().listRegularStops();

assertEquals(22, stops.size());
assertEquals(25, stops.size());
assertEquals("RegularStop{F:A A}", first(stops).toString());
}

Expand All @@ -115,7 +115,7 @@ public void testGetAllStopTimes() {
stopTimes.addAll(subject.getStopTimesForTrip(trip));
}

assertEquals(80, stopTimes.size());
assertEquals(85, stopTimes.size());
assertEquals(
"StopTime(seq=1 stop=F:A trip=agency:1.1 times=00:00:00-00:00:00)",
first(stopTimes).toString()
Expand All @@ -126,7 +126,7 @@ public void testGetAllStopTimes() {
public void testGetAllTrips() {
Collection<Trip> trips = subject.getAllTrips();

assertEquals(33, trips.size());
assertEquals(34, trips.size());
assertEquals("Trip{agency:1.1 1}", first(trips).toString());
}

Expand Down

0 comments on commit a4fa84c

Please sign in to comment.