From 3cff39f02c54eb0f06835e1e0b6a2f6f02d0b5cb Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 28 Nov 2011 21:15:44 -0500 Subject: Be more consistent about using sRGB in the client. Also, expose the sRGB C and C^-1 functions. --- libdimension-python/tests/color.py | 1 + 1 file changed, 1 insertion(+) (limited to 'libdimension-python/tests') diff --git a/libdimension-python/tests/color.py b/libdimension-python/tests/color.py index 47ac975..1299a88 100755 --- a/libdimension-python/tests/color.py +++ b/libdimension-python/tests/color.py @@ -50,3 +50,4 @@ assert Cyan == Color(0, 1, 1), Cyan assert Red + Blue == Magenta, Red + Blue assert 0.5*White == Color(0.5, 0.5, 0.5), 0.5*White +assert White/2 == Color(0.5, 0.5, 0.5), White/2 -- cgit v1.2.3