summaryrefslogtreecommitdiffstats
path: root/libdimension-python/tests/color.py
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-11-28 21:15:44 -0500
committerTavian Barnes <tavianator@gmail.com>2011-11-28 21:23:39 -0500
commit3cff39f02c54eb0f06835e1e0b6a2f6f02d0b5cb (patch)
treebbc25d189e8b63ff5f4751498c4858f97acb155e /libdimension-python/tests/color.py
parent458736a57bf8573de747e28f816b77248f998b85 (diff)
downloaddimension-3cff39f02c54eb0f06835e1e0b6a2f6f02d0b5cb.tar.xz
Be more consistent about using sRGB in the client.
Also, expose the sRGB C and C^-1 functions.
Diffstat (limited to 'libdimension-python/tests/color.py')
-rwxr-xr-xlibdimension-python/tests/color.py1
1 files changed, 1 insertions, 0 deletions
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