mirror of
https://github.com/catppuccin/python.git
synced 2026-02-06 04:48:10 +08:00
10 lines
199 B
Python
10 lines
199 B
Python
from catppuccin.colour import Colour
|
|
|
|
|
|
def test_colour_to_rgb():
|
|
assert Colour(12, 123, 234).rgb == (12, 123, 234)
|
|
|
|
|
|
def test_colour_to_hex():
|
|
assert Colour(0x12, 0xEB, 0x77).hex == "12eb77"
|