diff options
Diffstat (limited to 'test/platform/ColorTest.cpp')
-rw-r--r-- | test/platform/ColorTest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/platform/ColorTest.cpp b/test/platform/ColorTest.cpp index 0c7c18ba..128c873a 100644 --- a/test/platform/ColorTest.cpp +++ b/test/platform/ColorTest.cpp @@ -5,10 +5,10 @@ using cru::platform::Color; TEST_CASE("Color Parse", "[color]") { - REQUIRE(Color::Parse(u"blue") == Color::Parse(u"#0000ff")); - REQUIRE(Color::Parse(u"#12abAB") == Color::FromHex(0x12abAB)); - REQUIRE(Color::Parse(u"#8812abAB") == Color::FromHexAlpha(0x8812abAB)); - REQUIRE(Color::Parse(u"averystrangestring") == std::nullopt); - REQUIRE(Color::Parse(u"112233") == std::nullopt); - REQUIRE(Color::Parse(u"#7777777") == std::nullopt); + REQUIRE(Color::Parse("blue") == Color::Parse("#0000ff")); + REQUIRE(Color::Parse("#12abAB") == Color::FromHex(0x12abAB)); + REQUIRE(Color::Parse("#8812abAB") == Color::FromHexAlpha(0x8812abAB)); + REQUIRE(Color::Parse("averystrangestring") == std::nullopt); + REQUIRE(Color::Parse("112233") == std::nullopt); + REQUIRE(Color::Parse("#7777777") == std::nullopt); } |