diff options
| author | Teddy Wing | 2017-05-29 12:53:29 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-05-31 17:57:36 +0200 |
| commit | c6d622d662d7f787787d8ee3d89f5d900dd8ca59 (patch) | |
| tree | da17e5b10d053174f3b97c49feda37fcb89ae81a /lib/sql | |
| parent | 27cf3ff3a587c38c1fa2c5ac5048f22f38bb85e9 (diff) | |
| download | chouette-core-c6d622d662d7f787787d8ee3d89f5d900dd8ca59.tar.bz2 | |
Add a basic test to check VehicleJourneyAtStop day offsets
Create a new class that will determine the day offset of a
VehicleJourneyAtStop given a list of VehicleJourneyAtStops.
The idea is, every time midnight is passed, the day offset should be
incremented and saved in the appropriate fields of the
VehicleJourneyAtStop. No real code right now, Just committing the first
test I came up with.
The test takes a handful of at-stops and checks that they have the
correct `departure_day_offset` & `arrival_day_offset` after running our
calculation method.
Refs #3596
Diffstat (limited to 'lib/sql')
0 files changed, 0 insertions, 0 deletions
