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

Function test_draw_logo_transported_and_scaled

repl/src/logo.rs:141–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139
140 #[test]
141 fn test_draw_logo_transported_and_scaled() {
142 let mut test = SdlTest::default();
143 test.console().hide_cursor().unwrap();
144 let x1y1 = PixelsXY { x: 100, y: 100 };
145 let x2y2 = PixelsXY { x: 300, y: 300 };
146 test.console().draw_rect(x1y1, x2y2).unwrap();
147 draw_logo(test.console(), x1y1, Some(x2y2)).unwrap();
148 test.verify("repl/src", "logo-scaled");
149 }
150}

Callers

nothing calls this directly

Calls 5

draw_logoFunction · 0.85
consoleMethod · 0.80
verifyMethod · 0.80
hide_cursorMethod · 0.45
draw_rectMethod · 0.45

Tested by

no test coverage detected