implements PLN-0072

This commit is contained in:
2026-05-23 19:26:09 +01:00
parent 537096057a
commit f9a86fafb0
5 changed files with 16 additions and 6 deletions
@@ -648,7 +648,7 @@ fn tick_draw_text_survives_no_scene_frame_path() {
let mut vm = VirtualMachine::default();
let signals = InputSignals::default();
let code = assemble(
"PUSH_I32 0\nPUSH_I32 0\nPUSH_CONST 0\nPUSH_I32 65535\nHOSTCALL 0\nFRAME_SYNC\nHALT",
"PUSH_I32 0\nPUSH_I32 0\nPUSH_CONST 0\nPUSH_I32 287454020\nHOSTCALL 0\nFRAME_SYNC\nHALT",
)
.expect("assemble");
let program = serialized_single_function_module_with_consts(
@@ -682,7 +682,7 @@ fn tick_draw_text_survives_no_scene_frame_path() {
assert!(report.is_none(), "no-scene overlay text must not crash");
hardware.gfx.present();
assert_eq!(hardware.gfx.front_buffer()[0], Color::WHITE.raw());
assert_eq!(hardware.gfx.front_buffer()[0], Color::from_raw(0x11223344).raw());
}
#[test]