def test_repr(self): c = bcu.NamedColor("aliceblue", 240, 248, 255) assert repr(c) == c.to_css()
def test_to_css(self): c = bcu.NamedColor("aliceblue", 240, 248, 255) assert c.to_css() == "aliceblue"
def test_init(self): c = bcu.NamedColor("aliceblue", 240, 248, 255) assert c.name == "aliceblue"