Skip to content

Commit

Permalink
Issue #100 updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed Jul 14, 2022
1 parent b97a9f4 commit 90c354e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/visualisation/test_colours.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.]

0 comments on commit 90c354e

Please sign in to comment.