Added test for hex string conversions
This commit is contained in:
parent
5ee6c17faa
commit
74c67103d1
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user