Close EventEffects semantic descriptor frontier
This commit is contained in:
parent
3dbcec688f
commit
51a7bbd756
18 changed files with 5432 additions and 175 deletions
|
|
@ -190,6 +190,7 @@ mod tests {
|
|||
named_locomotive_availability: BTreeMap::new(),
|
||||
named_locomotive_cost: BTreeMap::new(),
|
||||
cargo_production_overrides: BTreeMap::new(),
|
||||
world_scalar_overrides: BTreeMap::new(),
|
||||
special_conditions: BTreeMap::new(),
|
||||
service_state: RuntimeServiceState::default(),
|
||||
},
|
||||
|
|
@ -377,6 +378,7 @@ mod tests {
|
|||
named_locomotive_availability: BTreeMap::new(),
|
||||
named_locomotive_cost: BTreeMap::new(),
|
||||
cargo_production_overrides: BTreeMap::new(),
|
||||
world_scalar_overrides: BTreeMap::new(),
|
||||
special_conditions: BTreeMap::new(),
|
||||
service_state: RuntimeServiceState::default(),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -148,6 +148,10 @@ pub struct ExpectedRuntimeSummary {
|
|||
#[serde(default)]
|
||||
pub packed_event_blocked_shell_owned_descriptor_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub packed_event_blocked_evidence_blocked_descriptor_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub packed_event_blocked_variant_or_scope_blocked_descriptor_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub packed_event_blocked_unmapped_real_descriptor_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub packed_event_blocked_unmapped_world_descriptor_count: Option<usize>,
|
||||
|
|
@ -184,6 +188,8 @@ pub struct ExpectedRuntimeSummary {
|
|||
#[serde(default)]
|
||||
pub cargo_production_override_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub world_scalar_override_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub special_condition_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub enabled_special_condition_count: Option<usize>,
|
||||
|
|
@ -761,6 +767,22 @@ impl ExpectedRuntimeSummary {
|
|||
));
|
||||
}
|
||||
}
|
||||
if let Some(count) = self.packed_event_blocked_evidence_blocked_descriptor_count {
|
||||
if actual.packed_event_blocked_evidence_blocked_descriptor_count != count {
|
||||
mismatches.push(format!(
|
||||
"packed_event_blocked_evidence_blocked_descriptor_count mismatch: expected {count}, got {}",
|
||||
actual.packed_event_blocked_evidence_blocked_descriptor_count
|
||||
));
|
||||
}
|
||||
}
|
||||
if let Some(count) = self.packed_event_blocked_variant_or_scope_blocked_descriptor_count {
|
||||
if actual.packed_event_blocked_variant_or_scope_blocked_descriptor_count != count {
|
||||
mismatches.push(format!(
|
||||
"packed_event_blocked_variant_or_scope_blocked_descriptor_count mismatch: expected {count}, got {}",
|
||||
actual.packed_event_blocked_variant_or_scope_blocked_descriptor_count
|
||||
));
|
||||
}
|
||||
}
|
||||
if let Some(count) = self.packed_event_blocked_unmapped_real_descriptor_count {
|
||||
if actual.packed_event_blocked_unmapped_real_descriptor_count != count {
|
||||
mismatches.push(format!(
|
||||
|
|
@ -905,6 +927,14 @@ impl ExpectedRuntimeSummary {
|
|||
));
|
||||
}
|
||||
}
|
||||
if let Some(count) = self.world_scalar_override_count {
|
||||
if actual.world_scalar_override_count != count {
|
||||
mismatches.push(format!(
|
||||
"world_scalar_override_count mismatch: expected {count}, got {}",
|
||||
actual.world_scalar_override_count
|
||||
));
|
||||
}
|
||||
}
|
||||
if let Some(count) = self.special_condition_count {
|
||||
if actual.special_condition_count != count {
|
||||
mismatches.push(format!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue