| 44 | } |
| 45 | |
| 46 | TEST(Raster, MonochromeMsbFirst) { |
| 47 | unsigned char data[] = {0xC1, 0x26, 0xE7}; |
| 48 | ConstDramRaster<Monochrome> raster(4, 6, (const roo::byte*)data, |
| 49 | WhiteOnBlack()); |
| 50 | EXPECT_THAT(raster, MatchesContent(WhiteOnBlack(), 4, 6, |
| 51 | "** " |
| 52 | " *" |
| 53 | " * " |
| 54 | " ** " |
| 55 | "*** " |
| 56 | " ***")); |
| 57 | } |
| 58 | |
| 59 | TEST(Raster, MonochromeLsbFirst) { |
| 60 | unsigned char data[] = {0xC1, 0x26, 0xE7}; |
nothing calls this directly
no test coverage detected