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

Function test_draw_circle_dot

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

Source from the content-addressed store, hash-verified

653
654 #[test]
655 fn test_draw_circle_dot() {
656 let mut rasops = RecordingRasops::default();
657 draw_circle(&mut rasops, PixelsXY::new(10, 20), 1).unwrap();
658 assert_eq!([CapturedRasop::DrawPixel(10, 20)], rasops.ops.as_slice());
659 }
660
661 #[test]
662 fn test_draw_circle_larger() {

Callers

nothing calls this directly

Calls 1

draw_circleFunction · 0.85

Tested by

no test coverage detected