| 14 | } // namespace |
| 15 | |
| 16 | TEST(PhotoshopIsIrb, returnsTrueWithValidMarkers) { |
| 17 | for (const auto& marker : validMarkers) { |
| 18 | ASSERT_TRUE(Photoshop::isIrb(reinterpret_cast<const byte*>(marker))); |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | TEST(PhotoshopIsIrb, returnsFalseWithInvalidMarkers) { |
| 23 | ASSERT_FALSE(Photoshop::isIrb(reinterpret_cast<const byte*>("7BIM"))); |