()
| 1027 | |
| 1028 | #[test] |
| 1029 | fn test_sdl_console_write_positions() { |
| 1030 | let mut test = SdlTest::default(); |
| 1031 | |
| 1032 | let cols = test.console().size_chars().unwrap().x; |
| 1033 | for c in 0..cols { |
| 1034 | test.console().locate(CharsXY { x: c, y: 0 }).unwrap(); |
| 1035 | test.console().write("").unwrap(); |
| 1036 | test.console().locate(CharsXY { x: c, y: 2 }).unwrap(); |
| 1037 | test.console().write("a").unwrap(); |
| 1038 | test.console().locate(CharsXY { x: c, y: 4 }).unwrap(); |
| 1039 | test.console().write("bc").unwrap(); |
| 1040 | } |
| 1041 | |
| 1042 | test.verify("sdl/src", "sdl-write-positions"); |
| 1043 | } |
| 1044 | } |
nothing calls this directly
no test coverage detected