Rehost company bond slots and current stat seam

This commit is contained in:
Jan Petykiewicz 2026-04-17 23:09:06 -07:00
commit 2239f9ce72
5 changed files with 251 additions and 47 deletions

View file

@ -5181,6 +5181,7 @@ mod tests {
market_state: Some(crate::RuntimeCompanyMarketState {
outstanding_shares: 20_000,
bond_count: 2,
live_bond_slots: Vec::new(),
largest_live_bond_principal: Some(500_000),
highest_coupon_live_bond_principal: Some(350_000),
mutable_support_scalar_raw_u32: 0x3f99999a,
@ -5235,6 +5236,7 @@ mod tests {
market_state: Some(crate::RuntimeCompanyMarketState {
outstanding_shares: 18_000,
bond_count: 1,
live_bond_slots: Vec::new(),
largest_live_bond_principal: Some(300_000),
highest_coupon_live_bond_principal: Some(300_000),
mutable_support_scalar_raw_u32: 0x3f4ccccd,
@ -6619,6 +6621,7 @@ mod tests {
crate::RuntimeCompanyMarketState {
outstanding_shares: 30_000,
bond_count: 3,
live_bond_slots: Vec::new(),
largest_live_bond_principal: Some(750_000),
highest_coupon_live_bond_principal: Some(500_000),
mutable_support_scalar_raw_u32: 0x3f19999a,