Give the two-raid scenario room for the last contact (#134)
The maximum menu raid keeps a supersonic contact in the air past 5000 ticks under the new fire-authority rules; the recording closes only when the sky is clear. Run the scenario to 8000 ticks, still well inside its 20-minute cap, and keep the replay assertion. Co-Authored-By: Kimi Code <noreply@moonshot.ai>
This commit is contained in:
@@ -144,7 +144,9 @@ fn two_maximum_menu_raids_with_answered_flat_terrain() {
|
||||
let mut second = false;
|
||||
let mut overlap = false;
|
||||
let mut peak = 0;
|
||||
for now in 1..=5000 {
|
||||
// Two maximum menu raids can keep the last supersonic contact in the air past
|
||||
// 5000 ticks under the radar profiles; the recording closes once the sky is clear.
|
||||
for now in 1..=8000 {
|
||||
if !second && !sim.planning() {
|
||||
overlap = !sim.queue.is_empty() || sim.drones.iter().any(|d| d.alive());
|
||||
assert_eq!(sim.order_raid(&order, &targets, &mut out), expected);
|
||||
|
||||
Reference in New Issue
Block a user