Skip to content

Commit

Permalink
Adapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruechert committed Jan 7, 2025
1 parent a5edeb7 commit 9959ed9
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 131 deletions.
84 changes: 42 additions & 42 deletions test/routing/bike_transport_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ TRANSFERS: 0
FROM: (A, A) [2019-05-01 08:00]
TO: (C, C) [2019-05-01 08:20]
leg 0: (A, A) [2019-05-01 08:00] -> (C, C) [2019-05-01 08:20]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=Bus 0, day=2019-05-01, id=T0, src=0}]
1: B B............................................... a: 01.05 08:10 [01.05 10:10] d: 01.05 08:10 [01.05 10:10] [{name=Bus 0, day=2019-05-01, id=T0, src=0}]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=0, day=2019-05-01, id=T0, src=0}]
1: B B............................................... a: 01.05 08:10 [01.05 10:10] d: 01.05 08:10 [01.05 10:10] [{name=0, day=2019-05-01, id=T0, src=0}]
2: C C............................................... a: 01.05 08:20 [01.05 10:20]
Expand All @@ -117,8 +117,8 @@ TRANSFERS: 0
FROM: (A, A) [2019-05-01 09:00]
TO: (C, C) [2019-05-01 09:30]
leg 0: (A, A) [2019-05-01 09:00] -> (C, C) [2019-05-01 09:30]
0: A A............................................... d: 01.05 09:00 [01.05 11:00] [{name=Bus 1, day=2019-05-01, id=T2, src=0}]
1: B B............................................... a: 01.05 09:15 [01.05 11:15] d: 01.05 09:15 [01.05 11:15] [{name=Bus 1, day=2019-05-01, id=T2, src=0}]
0: A A............................................... d: 01.05 09:00 [01.05 11:00] [{name=1, day=2019-05-01, id=T2, src=0}]
1: B B............................................... a: 01.05 09:15 [01.05 11:15] d: 01.05 09:15 [01.05 11:15] [{name=1, day=2019-05-01, id=T2, src=0}]
2: C C............................................... a: 01.05 09:30 [01.05 11:30]
Expand All @@ -131,8 +131,8 @@ TRANSFERS: 0
FROM: (A, A) [2019-05-01 08:00]
TO: (C, C) [2019-05-01 08:30]
leg 0: (A, A) [2019-05-01 08:00] -> (C, C) [2019-05-01 08:30]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=Bus 1, day=2019-05-01, id=T1, src=0}]
1: B B............................................... a: 01.05 08:15 [01.05 10:15] d: 01.05 08:15 [01.05 10:15] [{name=Bus 1, day=2019-05-01, id=T1, src=0}]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=1, day=2019-05-01, id=T1, src=0}]
1: B B............................................... a: 01.05 08:15 [01.05 10:15] d: 01.05 08:15 [01.05 10:15] [{name=1, day=2019-05-01, id=T1, src=0}]
2: C C............................................... a: 01.05 08:30 [01.05 10:30]
Expand All @@ -145,13 +145,13 @@ TRANSFERS: 1
FROM: (A, A) [2019-05-01 08:00]
TO: (D, D) [2019-05-01 08:40]
leg 0: (A, A) [2019-05-01 08:00] -> (C, C) [2019-05-01 08:20]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=Bus 0, day=2019-05-01, id=T0, src=0}]
1: B B............................................... a: 01.05 08:10 [01.05 10:10] d: 01.05 08:10 [01.05 10:10] [{name=Bus 0, day=2019-05-01, id=T0, src=0}]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=0, day=2019-05-01, id=T0, src=0}]
1: B B............................................... a: 01.05 08:10 [01.05 10:10] d: 01.05 08:10 [01.05 10:10] [{name=0, day=2019-05-01, id=T0, src=0}]
2: C C............................................... a: 01.05 08:20 [01.05 10:20]
leg 1: (C, C) [2019-05-01 08:20] -> (C, C) [2019-05-01 08:22]
FOOTPATH (duration=2)
leg 2: (C, C) [2019-05-01 08:35] -> (D, D) [2019-05-01 08:40]
0: C C............................................... d: 01.05 08:35 [01.05 10:35] [{name=Bus 2, day=2019-05-01, id=T3, src=0}]
0: C C............................................... d: 01.05 08:35 [01.05 10:35] [{name=2, day=2019-05-01, id=T3, src=0}]
1: D D............................................... a: 01.05 08:40 [01.05 10:40]
Expand All @@ -164,13 +164,13 @@ TRANSFERS: 1
FROM: (A, A) [2019-05-01 08:00]
TO: (D, D) [2019-05-01 08:40]
leg 0: (A, A) [2019-05-01 08:00] -> (C, C) [2019-05-01 08:30]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=Bus 1, day=2019-05-01, id=T1, src=0}]
1: B B............................................... a: 01.05 08:15 [01.05 10:15] d: 01.05 08:15 [01.05 10:15] [{name=Bus 1, day=2019-05-01, id=T1, src=0}]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=1, day=2019-05-01, id=T1, src=0}]
1: B B............................................... a: 01.05 08:15 [01.05 10:15] d: 01.05 08:15 [01.05 10:15] [{name=1, day=2019-05-01, id=T1, src=0}]
2: C C............................................... a: 01.05 08:30 [01.05 10:30]
leg 1: (C, C) [2019-05-01 08:30] -> (C, C) [2019-05-01 08:32]
FOOTPATH (duration=2)
leg 2: (C, C) [2019-05-01 08:35] -> (D, D) [2019-05-01 08:40]
0: C C............................................... d: 01.05 08:35 [01.05 10:35] [{name=Bus 2, day=2019-05-01, id=T3, src=0}]
0: C C............................................... d: 01.05 08:35 [01.05 10:35] [{name=2, day=2019-05-01, id=T3, src=0}]
1: D D............................................... a: 01.05 08:40 [01.05 10:40]
Expand All @@ -183,7 +183,7 @@ TRANSFERS: 0
FROM: (C, C) [2019-05-01 08:35]
TO: (D, D) [2019-05-01 08:40]
leg 0: (C, C) [2019-05-01 08:35] -> (D, D) [2019-05-01 08:40]
0: C C............................................... d: 01.05 08:35 [01.05 10:35] [{name=Bus 2, day=2019-05-01, id=T3, src=0}]
0: C C............................................... d: 01.05 08:35 [01.05 10:35] [{name=2, day=2019-05-01, id=T3, src=0}]
1: D D............................................... a: 01.05 08:40 [01.05 10:40]
Expand All @@ -192,7 +192,7 @@ TRANSFERS: 0
FROM: (C, C) [2019-05-01 08:45]
TO: (D, D) [2019-05-01 08:50]
leg 0: (C, C) [2019-05-01 08:45] -> (D, D) [2019-05-01 08:50]
0: C C............................................... d: 01.05 08:45 [01.05 10:45] [{name=Bus 2, day=2019-05-01, id=T4, src=0}]
0: C C............................................... d: 01.05 08:45 [01.05 10:45] [{name=2, day=2019-05-01, id=T4, src=0}]
1: D D............................................... a: 01.05 08:50 [01.05 10:50]
Expand All @@ -205,15 +205,15 @@ TRANSFERS: 1
FROM: (A, A) [2019-05-01 08:00]
TO: (F, F) [2019-05-01 08:55]
leg 0: (A, A) [2019-05-01 08:00] -> (C, C) [2019-05-01 08:20]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=Bus 0, day=2019-05-01, id=T0, src=0}]
1: B B............................................... a: 01.05 08:10 [01.05 10:10] d: 01.05 08:10 [01.05 10:10] [{name=Bus 0, day=2019-05-01, id=T0, src=0}]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=0, day=2019-05-01, id=T0, src=0}]
1: B B............................................... a: 01.05 08:10 [01.05 10:10] d: 01.05 08:10 [01.05 10:10] [{name=0, day=2019-05-01, id=T0, src=0}]
2: C C............................................... a: 01.05 08:20 [01.05 10:20]
leg 1: (C, C) [2019-05-01 08:20] -> (C, C) [2019-05-01 08:22]
FOOTPATH (duration=2)
leg 2: (C, C) [2019-05-01 08:35] -> (F, F) [2019-05-01 08:55]
0: C C............................................... d: 01.05 08:35 [01.05 10:35] [{name=Bus 2, day=2019-05-01, id=T3, src=0}]
1: D D............................................... a: 01.05 08:40 [01.05 10:40] d: 01.05 08:42 [01.05 10:42] [{name=Bus 3, day=2019-05-01, id=T5, src=0}]
2: E E............................................... a: 01.05 08:50 [01.05 10:50] d: 01.05 08:50 [01.05 10:50] [{name=Bus 3, day=2019-05-01, id=T5, src=0}]
0: C C............................................... d: 01.05 08:35 [01.05 10:35] [{name=2, day=2019-05-01, id=T3, src=0}]
1: D D............................................... a: 01.05 08:40 [01.05 10:40] d: 01.05 08:42 [01.05 10:42] [{name=3, day=2019-05-01, id=T5, src=0}]
2: E E............................................... a: 01.05 08:50 [01.05 10:50] d: 01.05 08:50 [01.05 10:50] [{name=3, day=2019-05-01, id=T5, src=0}]
3: F F............................................... a: 01.05 08:55 [01.05 10:55]
Expand All @@ -226,15 +226,15 @@ TRANSFERS: 1
FROM: (A, A) [2019-05-01 08:00]
TO: (F, F) [2019-05-01 09:05]
leg 0: (A, A) [2019-05-01 08:00] -> (C, C) [2019-05-01 08:30]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=Bus 1, day=2019-05-01, id=T1, src=0}]
1: B B............................................... a: 01.05 08:15 [01.05 10:15] d: 01.05 08:15 [01.05 10:15] [{name=Bus 1, day=2019-05-01, id=T1, src=0}]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=1, day=2019-05-01, id=T1, src=0}]
1: B B............................................... a: 01.05 08:15 [01.05 10:15] d: 01.05 08:15 [01.05 10:15] [{name=1, day=2019-05-01, id=T1, src=0}]
2: C C............................................... a: 01.05 08:30 [01.05 10:30]
leg 1: (C, C) [2019-05-01 08:30] -> (C, C) [2019-05-01 08:32]
FOOTPATH (duration=2)
leg 2: (C, C) [2019-05-01 08:45] -> (F, F) [2019-05-01 09:05]
0: C C............................................... d: 01.05 08:45 [01.05 10:45] [{name=Bus 2, day=2019-05-01, id=T4, src=0}]
1: D D............................................... a: 01.05 08:50 [01.05 10:50] d: 01.05 08:52 [01.05 10:52] [{name=Bus 3, day=2019-05-01, id=T6, src=0}]
2: E E............................................... a: 01.05 09:00 [01.05 11:00] d: 01.05 09:00 [01.05 11:00] [{name=Bus 3, day=2019-05-01, id=T6, src=0}]
0: C C............................................... d: 01.05 08:45 [01.05 10:45] [{name=2, day=2019-05-01, id=T4, src=0}]
1: D D............................................... a: 01.05 08:50 [01.05 10:50] d: 01.05 08:52 [01.05 10:52] [{name=3, day=2019-05-01, id=T6, src=0}]
2: E E............................................... a: 01.05 09:00 [01.05 11:00] d: 01.05 09:00 [01.05 11:00] [{name=3, day=2019-05-01, id=T6, src=0}]
3: F F............................................... a: 01.05 09:05 [01.05 11:05]
Expand Down Expand Up @@ -381,9 +381,9 @@ TRANSFERS: 0
FROM: (A, A) [2019-05-01 08:00]
TO: (D, D) [2019-05-01 08:25]
leg 0: (A, A) [2019-05-01 08:00] -> (D, D) [2019-05-01 08:25]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=Bus 1, day=2019-05-01, id=T1, src=0}]
1: B B............................................... a: 01.05 08:10 [01.05 10:10] d: 01.05 08:15 [01.05 10:15] [{name=Bus 2, day=2019-05-01, id=T2, src=0}]
2: C C............................................... a: 01.05 08:20 [01.05 10:20] d: 01.05 08:20 [01.05 10:20] [{name=Bus 2, day=2019-05-01, id=T2, src=0}]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=1, day=2019-05-01, id=T1, src=0}]
1: B B............................................... a: 01.05 08:10 [01.05 10:10] d: 01.05 08:15 [01.05 10:15] [{name=2, day=2019-05-01, id=T2, src=0}]
2: C C............................................... a: 01.05 08:20 [01.05 10:20] d: 01.05 08:20 [01.05 10:20] [{name=2, day=2019-05-01, id=T2, src=0}]
3: D D............................................... a: 01.05 08:25 [01.05 10:25]
Expand All @@ -396,9 +396,9 @@ TRANSFERS: 0
FROM: (A, A) [2019-05-01 08:00]
TO: (D, D) [2019-05-01 08:35]
leg 0: (A, A) [2019-05-01 08:00] -> (D, D) [2019-05-01 08:35]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=Bus 1, day=2019-05-01, id=T3, src=0}]
1: B B............................................... a: 01.05 08:20 [01.05 10:20] d: 01.05 08:25 [01.05 10:25] [{name=Bus 2, day=2019-05-01, id=T4, src=0}]
2: C C............................................... a: 01.05 08:30 [01.05 10:30] d: 01.05 08:30 [01.05 10:30] [{name=Bus 2, day=2019-05-01, id=T4, src=0}]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=1, day=2019-05-01, id=T3, src=0}]
1: B B............................................... a: 01.05 08:20 [01.05 10:20] d: 01.05 08:25 [01.05 10:25] [{name=2, day=2019-05-01, id=T4, src=0}]
2: C C............................................... a: 01.05 08:30 [01.05 10:30] d: 01.05 08:30 [01.05 10:30] [{name=2, day=2019-05-01, id=T4, src=0}]
3: D D............................................... a: 01.05 08:35 [01.05 10:35]
Expand All @@ -411,9 +411,9 @@ TRANSFERS: 0
FROM: (A, A) [2019-05-01 08:00]
TO: (D, D) [2019-05-01 08:30]
leg 0: (A, A) [2019-05-01 08:00] -> (D, D) [2019-05-01 08:30]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] RT 01.05 08:00 [01.05 10:00] [{name=Bus 1, day=2019-05-01, id=T1, src=0}]
1: B B............................................... a: 01.05 08:10 [01.05 10:10] RT 01.05 08:10 [01.05 10:10] d: 01.05 08:15 [01.05 10:15] RT 01.05 08:20 [01.05 10:20] [{name=Bus 2, day=2019-05-01, id=T2, src=0}]
2: C C............................................... a: 01.05 08:20 [01.05 10:20] RT 01.05 08:25 [01.05 10:25] d: 01.05 08:20 [01.05 10:20] RT 01.05 08:25 [01.05 10:25] [{name=Bus 2, day=2019-05-01, id=T2, src=0}]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] RT 01.05 08:00 [01.05 10:00] [{name=1, day=2019-05-01, id=T1, src=0}]
1: B B............................................... a: 01.05 08:10 [01.05 10:10] RT 01.05 08:10 [01.05 10:10] d: 01.05 08:15 [01.05 10:15] RT 01.05 08:20 [01.05 10:20] [{name=2, day=2019-05-01, id=T2, src=0}]
2: C C............................................... a: 01.05 08:20 [01.05 10:20] RT 01.05 08:25 [01.05 10:25] d: 01.05 08:20 [01.05 10:20] RT 01.05 08:25 [01.05 10:25] [{name=2, day=2019-05-01, id=T2, src=0}]
3: D D............................................... a: 01.05 08:25 [01.05 10:25] RT 01.05 08:30 [01.05 10:30]
Expand All @@ -426,9 +426,9 @@ TRANSFERS: 0
FROM: (A, A) [2019-05-01 08:00]
TO: (D, D) [2019-05-01 08:37]
leg 0: (A, A) [2019-05-01 08:00] -> (D, D) [2019-05-01 08:37]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] RT 01.05 08:00 [01.05 10:00] [{name=Bus 1, day=2019-05-01, id=T3, src=0}]
1: B B............................................... a: 01.05 08:20 [01.05 10:20] RT 01.05 08:20 [01.05 10:20] d: 01.05 08:25 [01.05 10:25] RT 01.05 08:27 [01.05 10:27] [{name=Bus 2, day=2019-05-01, id=T4, src=0}]
2: C C............................................... a: 01.05 08:30 [01.05 10:30] RT 01.05 08:32 [01.05 10:32] d: 01.05 08:30 [01.05 10:30] RT 01.05 08:32 [01.05 10:32] [{name=Bus 2, day=2019-05-01, id=T4, src=0}]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] RT 01.05 08:00 [01.05 10:00] [{name=1, day=2019-05-01, id=T3, src=0}]
1: B B............................................... a: 01.05 08:20 [01.05 10:20] RT 01.05 08:20 [01.05 10:20] d: 01.05 08:25 [01.05 10:25] RT 01.05 08:27 [01.05 10:27] [{name=2, day=2019-05-01, id=T4, src=0}]
2: C C............................................... a: 01.05 08:30 [01.05 10:30] RT 01.05 08:32 [01.05 10:32] d: 01.05 08:30 [01.05 10:30] RT 01.05 08:32 [01.05 10:32] [{name=2, day=2019-05-01, id=T4, src=0}]
3: D D............................................... a: 01.05 08:35 [01.05 10:35] RT 01.05 08:37 [01.05 10:37]
Expand Down Expand Up @@ -545,9 +545,9 @@ TRANSFERS: 0
FROM: (A, A) [2019-05-01 08:00]
TO: (D, D) [2019-05-01 08:30]
leg 0: (A, A) [2019-05-01 08:00] -> (D, D) [2019-05-01 08:30]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=Bus 1, day=2019-05-01, id=T1, src=0}]
1: B B............................................... a: 01.05 08:10 [01.05 10:10] d: 01.05 08:15 [01.05 10:15] [{name=Bus 2, day=2019-05-01, id=T2, src=0}]
2: C C............................................... a: 01.05 08:20 [01.05 10:20] d: 01.05 08:25 [01.05 10:25] [{name=Bus 3, day=2019-05-01, id=T3, src=0}]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=1, day=2019-05-01, id=T1, src=0}]
1: B B............................................... a: 01.05 08:10 [01.05 10:10] d: 01.05 08:15 [01.05 10:15] [{name=2, day=2019-05-01, id=T2, src=0}]
2: C C............................................... a: 01.05 08:20 [01.05 10:20] d: 01.05 08:25 [01.05 10:25] [{name=3, day=2019-05-01, id=T3, src=0}]
3: D D............................................... a: 01.05 08:30 [01.05 10:30]
Expand All @@ -560,9 +560,9 @@ TRANSFERS: 0
FROM: (A, A) [2019-05-01 08:00]
TO: (D, D) [2019-05-01 08:40]
leg 0: (A, A) [2019-05-01 08:00] -> (D, D) [2019-05-01 08:40]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=Bus 1, day=2019-05-01, id=T4, src=0}]
1: B B............................................... a: 01.05 08:20 [01.05 10:20] d: 01.05 08:25 [01.05 10:25] [{name=Bus 2, day=2019-05-01, id=T5, src=0}]
2: C C............................................... a: 01.05 08:30 [01.05 10:30] d: 01.05 08:35 [01.05 10:35] [{name=Bus 3, day=2019-05-01, id=T6, src=0}]
0: A A............................................... d: 01.05 08:00 [01.05 10:00] [{name=1, day=2019-05-01, id=T4, src=0}]
1: B B............................................... a: 01.05 08:20 [01.05 10:20] d: 01.05 08:25 [01.05 10:25] [{name=2, day=2019-05-01, id=T5, src=0}]
2: C C............................................... a: 01.05 08:30 [01.05 10:30] d: 01.05 08:35 [01.05 10:35] [{name=3, day=2019-05-01, id=T6, src=0}]
3: D D............................................... a: 01.05 08:40 [01.05 10:40]
Expand Down
Loading

0 comments on commit 9959ed9

Please sign in to comment.