MCPcopy Create free account
hub / github.com/AshampooSystems/boden / TEST

Function TEST

tests/boden/testColor.cpp:8–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace bdn::ui
7{
8 TEST(Color, InitWithStringWithAlpha)
9 {
10 Color c("#0080FFAB");
11
12 auto x = std::array<uint8_t, 4>{0x00, 0x80, 0xFF, 0xAB};
13
14 EXPECT_EQ(c.asIntArray<uint8_t>(), x);
15 }
16
17 TEST(Color, InitWithString)
18 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected