Execute world track build limit descriptor
This commit is contained in:
parent
b89463d227
commit
43c76adbf0
11 changed files with 439 additions and 9 deletions
|
|
@ -54,6 +54,8 @@ pub struct ExpectedRuntimeSummary {
|
|||
#[serde(default)]
|
||||
pub world_restore_ai_ignore_territories_at_startup_enabled: Option<bool>,
|
||||
#[serde(default)]
|
||||
pub world_restore_limited_track_building_amount: Option<i32>,
|
||||
#[serde(default)]
|
||||
pub world_restore_economic_status_code: Option<i32>,
|
||||
#[serde(default)]
|
||||
pub world_restore_absolute_counter_restore_kind: Option<String>,
|
||||
|
|
@ -345,6 +347,14 @@ impl ExpectedRuntimeSummary {
|
|||
));
|
||||
}
|
||||
}
|
||||
if let Some(value) = self.world_restore_limited_track_building_amount {
|
||||
if actual.world_restore_limited_track_building_amount != Some(value) {
|
||||
mismatches.push(format!(
|
||||
"world_restore_limited_track_building_amount mismatch: expected {value}, got {:?}",
|
||||
actual.world_restore_limited_track_building_amount
|
||||
));
|
||||
}
|
||||
}
|
||||
if let Some(code) = self.world_restore_economic_status_code {
|
||||
if actual.world_restore_economic_status_code != Some(code) {
|
||||
mismatches.push(format!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue