MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_sdl_console_leave_alt

Function test_sdl_console_leave_alt

sdl/src/console.rs:674–683  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

672
673 #[test]
674 fn test_sdl_console_leave_alt() {
675 let mut test = SdlTest::default();
676
677 test.console().print("Before entering the alternate console").unwrap();
678 test.console().enter_alt().unwrap();
679 test.console().print("After entering the alternate console").unwrap();
680 test.console().leave_alt().unwrap();
681
682 test.verify("sdl/src", "sdl-leave-alt");
683 }
684
685 #[test]
686 fn test_sdl_console_alt_colors() {

Callers

nothing calls this directly

Calls 5

consoleMethod · 0.80
verifyMethod · 0.80
printMethod · 0.45
enter_altMethod · 0.45
leave_altMethod · 0.45

Tested by

no test coverage detected