Add named locomotive availability runtime surface
This commit is contained in:
parent
c04c19ac82
commit
8c7ff335cb
16 changed files with 542 additions and 13 deletions
|
|
@ -4454,6 +4454,9 @@ mod tests {
|
|||
let mixed_overlay_fixture = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join(
|
||||
"../../fixtures/runtime/packed-event-mixed-company-descriptor-overlay-fixture.json",
|
||||
);
|
||||
let named_locomotive_fixture = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join(
|
||||
"../../fixtures/runtime/packed-event-named-locomotive-availability-save-slice-fixture.json",
|
||||
);
|
||||
|
||||
run_runtime_summarize_fixture(&parity_fixture)
|
||||
.expect("save-slice-backed parity fixture should summarize");
|
||||
|
|
@ -4471,6 +4474,8 @@ mod tests {
|
|||
.expect("overlay-backed track-capacity fixture should summarize");
|
||||
run_runtime_summarize_fixture(&mixed_overlay_fixture)
|
||||
.expect("overlay-backed mixed real-row fixture should summarize");
|
||||
run_runtime_summarize_fixture(&named_locomotive_fixture)
|
||||
.expect("save-slice-backed named locomotive availability fixture should summarize");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
@ -4495,6 +4500,7 @@ mod tests {
|
|||
bridge_family: None,
|
||||
profile: None,
|
||||
candidate_availability_table: None,
|
||||
named_locomotive_availability_table: None,
|
||||
special_conditions_table: None,
|
||||
event_runtime_collection: None,
|
||||
notes: vec!["exported for test".to_string()],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue