test(bridge-contract): ✅ Add test cases for bridge contract operations, including setup, execution, and validation logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
12d87af42f
commit
d67aec22e7
1 changed files with 7 additions and 1 deletions
|
|
@ -111,6 +111,8 @@ fn dense_bench_state(seed: u64, map_size: i32) -> GameState {
|
|||
},
|
||||
],
|
||||
city_positions: vec![(5, 5)],
|
||||
capital_position: None,
|
||||
culture_total: 0,
|
||||
arcane_lore_pop_deducted: false,
|
||||
}],
|
||||
grid: Some(grid),
|
||||
|
|
@ -159,6 +161,8 @@ fn isolated_unit_state(map_size: i32) -> GameState {
|
|||
unit_id: "dwarf_warrior".to_string(),
|
||||
}],
|
||||
city_positions: vec![(0, 0), (15, 15)],
|
||||
capital_position: None,
|
||||
culture_total: 0,
|
||||
arcane_lore_pop_deducted: false,
|
||||
}],
|
||||
grid: Some(grid),
|
||||
|
|
@ -551,7 +555,9 @@ fn base_kill_rate_setter_is_not_a_noop() {
|
|||
mk_unit(8, 7),
|
||||
],
|
||||
city_positions: vec![(5, 5)],
|
||||
arcane_lore_pop_deducted: false,
|
||||
capital_position: None,
|
||||
culture_total: 0,
|
||||
arcane_lore_pop_deducted: false,
|
||||
}],
|
||||
grid: Some(grid),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue