()
| 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() { |