diff --git a/tests/src/main.cpp b/tests/src/main.cpp index 3ad669c..01546ea 100644 --- a/tests/src/main.cpp +++ b/tests/src/main.cpp @@ -89,3 +89,8 @@ BOOST_AUTO_TEST_CASE(hsb2rgb_magenta_test) { BOOST_TEST(rgb.g == 0.0); BOOST_TEST(rgb.b == 1.0); } + +BOOST_AUTO_TEST_CASE(hextest) { + Color col {"#123456"}; + BOOST_TEST(col.hex() == "#123456"); +}