Closed Atomox closed 6 years ago
Working for some messages. Need to handle multiple redirect messages in a single message, such as: A ov C. Also, R over F.
Broke out archives and assembled an archive of just route changes.
Test data updated with expected structure. Added new route diversions to archive route-change-only json data.
E.G.
Some wonky line change patterns:
Standard patterns for two different lines now work in tandem.
E.G.:
Some tests fail because of station alias issues. Shifting focus to address the 36 St / 36 St problem in MTAD-05 first.
When parsing A(B) over C (then over D). After stations in C, group .* with manditory D, but make the entire capture group optional.
Everything has test, and is working, except:
Broke out 2 remaining patterns (trains end / trains operate between, then). So, everything passing for MTAD-001. Closing.
When a subway is traveling over another line, detect which line it reroutes over, include starting and ending station.
This ticket is only for LINE CHANGES, not local vs Express.
E.X.
Patterns:
A-overC
A-overC-thenD
AB-overC
A-overC-D-overE
AB-overC-D-overE
Acceptance Criteria: