tests: the row 62 east test's first sighting as a plain tuple
This commit is contained in:
parent
f4946ce744
commit
b6e552ace2
1 changed files with 4 additions and 3 deletions
|
|
@ -4077,7 +4077,7 @@ fn row62_east_of_mt_moon_go_heal_is_not_dealt_back_into_the_mountain() {
|
||||||
let mut east_frames = 0u32;
|
let mut east_frames = 0u32;
|
||||||
let mut on_route_4 = 0u32;
|
let mut on_route_4 = 0u32;
|
||||||
let mut go_heal_east = 0u32;
|
let mut go_heal_east = 0u32;
|
||||||
let mut first: Option<(u32, Option<(u8, u8, u8)>)> = None;
|
let mut first: Option<(u32, (u8, u8, u8))> = None;
|
||||||
run.force_hot = Some("macro_go_objective");
|
run.force_hot = Some("macro_go_objective");
|
||||||
for frame in 0..12_000u32 {
|
for frame in 0..12_000u32 {
|
||||||
run.frame();
|
run.frame();
|
||||||
|
|
@ -4090,10 +4090,11 @@ fn row62_east_of_mt_moon_go_heal_is_not_dealt_back_into_the_mountain() {
|
||||||
}
|
}
|
||||||
if run.layer.bound_channels().iter().any(|channel| channel == "macro_go_heal") {
|
if run.layer.bound_channels().iter().any(|channel| channel == "macro_go_heal") {
|
||||||
go_heal_east += 1;
|
go_heal_east += 1;
|
||||||
let here = at(&mut run);
|
if let Some(here) = at(&mut run) {
|
||||||
first.get_or_insert((frame, here));
|
first.get_or_insert((frame, here));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"{:.1} brain minutes: hurt east of the mountain {east_frames} frames ({on_route_4} on Route 4), \
|
"{:.1} brain minutes: hurt east of the mountain {east_frames} frames ({on_route_4} on Route 4), \
|
||||||
GO HEAL dealt on {go_heal_east} (first {first:?}), rank {}, route {:?}, macros {:?}",
|
GO HEAL dealt on {go_heal_east} (first {first:?}), rank {}, route {:?}, macros {:?}",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue