| 44 | } |
| 45 | |
| 46 | TEST(Rasterizable, SimpleFilledCircle) { |
| 47 | auto input = MakeRasterizable(Box(0, 0, 6, 7), circle(2, 2, 3), |
| 48 | TransparencyMode::kNone); |
| 49 | |
| 50 | FakeOffscreen<Rgb565> test_screen(9, 10, color::Black); |
| 51 | Draw(test_screen, 1, 2, input); |
| 52 | EXPECT_THAT(test_screen, MatchesContent(WhiteOnBlack(), 9, 10, |
| 53 | " " |
| 54 | " " |
| 55 | " *** " |
| 56 | " ***** " |
| 57 | " ***** " |
| 58 | " ***** " |
| 59 | " *** " |
| 60 | " " |
| 61 | " " |
| 62 | " ")); |
| 63 | } |
| 64 | |
| 65 | TEST(Rasterizable, SimpleFilledCircleClipped) { |
| 66 | auto input = MakeRasterizable(Box(0, 0, 6, 7), circle(2, 2, 3), |
nothing calls this directly
no test coverage detected