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

Function test_draw_text_empty

std/src/console/drawing.rs:1099–1104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1097
1098 #[test]
1099 fn test_draw_text_empty() {
1100 let mut rasops = RecordingRasops::default();
1101 draw_text(&mut rasops, &crate::gfx::lcd::fonts::FONT_5X8, PixelsXY::new(10, 20), "")
1102 .unwrap();
1103 assert!(rasops.ops.is_empty());
1104 }
1105
1106 #[test]
1107 fn test_draw_text_one_char() {

Callers

nothing calls this directly

Calls 1

draw_textFunction · 0.85

Tested by

no test coverage detected