()
| 1380 | |
| 1381 | #[test] |
| 1382 | fn test_gfx_circle_ok() { |
| 1383 | Tester::default() |
| 1384 | .run("GFX_CIRCLE 0, 0, 0") |
| 1385 | .expect_output([CapturedOut::DrawCircle(PixelsXY { x: 0, y: 0 }, 0)]) |
| 1386 | .check(); |
| 1387 | |
| 1388 | Tester::default() |
| 1389 | .run("GFX_CIRCLE 1.1, 2.3, 2.5") |
| 1390 | .expect_output([CapturedOut::DrawCircle(PixelsXY { x: 1, y: 2 }, 3)]) |
| 1391 | .check(); |
| 1392 | |
| 1393 | Tester::default() |
| 1394 | .run("GFX_CIRCLE -31000, -32000, 31000") |
| 1395 | .expect_output([CapturedOut::DrawCircle(PixelsXY { x: -31000, y: -32000 }, 31000)]) |
| 1396 | .check(); |
| 1397 | } |
| 1398 | |
| 1399 | #[test] |
| 1400 | fn test_gfx_circle_errors() { |
nothing calls this directly
no test coverage detected