MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / TEST

Function TEST

unitTests/test_Photoshop.cpp:16–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

c_strMethod · 0.80
dataMethod · 0.80
sizeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected