diff --git a/tests/visualisation/test_colours.py b/tests/visualisation/test_colours.py index e2b07d2..0d3bae2 100644 --- a/tests/visualisation/test_colours.py +++ b/tests/visualisation/test_colours.py @@ -27,8 +27,8 @@ def test_integer_colour_to_float(): def test_get_yellow(): """Checks that get yellow returns the right value""" - assert cls.get_yellow(1.0)[1] == [1.0, 1.0, 1.0] + assert cls.get_yellow(1.0)[1] == [1.0, 1.0, 142./255.] def test_get_green(): """Checks that get green returns the right value""" - assert cls.get_green(1.0)[1] == [1.0, 1.0, 1.0] + assert cls.get_green(1.0)[1] == [233./255., 1.0, 233./255.]