Carry company stat-band roots into runtime state
This commit is contained in:
parent
8473471a79
commit
1e0f88bd62
9 changed files with 180 additions and 15 deletions
|
|
@ -96,6 +96,12 @@ pub struct ExpectedRuntimeSummary {
|
|||
#[serde(default)]
|
||||
pub selected_company_mutable_support_scalar_value_f32_text: Option<String>,
|
||||
#[serde(default)]
|
||||
pub selected_company_stat_band_root_0cfb_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub selected_company_stat_band_root_0d7f_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub selected_company_stat_band_root_1c47_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub player_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub chairman_profile_count: Option<usize>,
|
||||
|
|
@ -609,6 +615,30 @@ impl ExpectedRuntimeSummary {
|
|||
));
|
||||
}
|
||||
}
|
||||
if let Some(count) = self.selected_company_stat_band_root_0cfb_count {
|
||||
if actual.selected_company_stat_band_root_0cfb_count != count {
|
||||
mismatches.push(format!(
|
||||
"selected_company_stat_band_root_0cfb_count mismatch: expected {count}, got {}",
|
||||
actual.selected_company_stat_band_root_0cfb_count
|
||||
));
|
||||
}
|
||||
}
|
||||
if let Some(count) = self.selected_company_stat_band_root_0d7f_count {
|
||||
if actual.selected_company_stat_band_root_0d7f_count != count {
|
||||
mismatches.push(format!(
|
||||
"selected_company_stat_band_root_0d7f_count mismatch: expected {count}, got {}",
|
||||
actual.selected_company_stat_band_root_0d7f_count
|
||||
));
|
||||
}
|
||||
}
|
||||
if let Some(count) = self.selected_company_stat_band_root_1c47_count {
|
||||
if actual.selected_company_stat_band_root_1c47_count != count {
|
||||
mismatches.push(format!(
|
||||
"selected_company_stat_band_root_1c47_count mismatch: expected {count}, got {}",
|
||||
actual.selected_company_stat_band_root_1c47_count
|
||||
));
|
||||
}
|
||||
}
|
||||
if let Some(count) = self.player_count {
|
||||
if actual.player_count != count {
|
||||
mismatches.push(format!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue