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

Function test_sdl_console_sync

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

Source from the content-addressed store, hash-verified

1014
1015 #[test]
1016 fn test_sdl_console_sync() {
1017 let mut test = SdlTest::default();
1018
1019 test.console().print("Before disabling sync").unwrap();
1020 test.console().set_sync(false).unwrap();
1021 test.console().print("After disabling sync").unwrap();
1022 test.console().sync_now().unwrap();
1023 test.console().print("With sync disabled").unwrap();
1024
1025 test.verify("sdl/src", "sdl-sync");
1026 }
1027
1028 #[test]
1029 fn test_sdl_console_write_positions() {

Callers

nothing calls this directly

Calls 5

consoleMethod · 0.80
verifyMethod · 0.80
printMethod · 0.45
set_syncMethod · 0.45
sync_nowMethod · 0.45

Tested by

no test coverage detected