def test_triple_upper(self): self.assertEqual(get_colour('#AAAAAA'), '#aaa')
def test_triple_mixed(self): self.assertEqual(get_colour('#aAaAaA'), '#aaa')
def test_triple_number(self): self.assertEqual(get_colour('#777777'), '#777')
def test_blue_upper(self): self.assertEqual(get_colour('#0000FF'), 'blue')
def test_triple_lower(self): self.assertEqual(get_colour('#aaaaaa'), '#aaa')
def test_blue_lower(self): self.assertEqual(get_colour('#0000ff'), 'blue')
def test_blue_mixed(self): self.assertEqual(get_colour('#0000Ff'), 'blue')
def test_triple_number(self): self.assertEqual(get_colour("#777777"), "#777")
def test_triple_upper(self): self.assertEqual(get_colour("#AAAAAA"), "#aaa")
def test_triple_mixed(self): self.assertEqual(get_colour("#aAaAaA"), "#aaa")
def test_triple_lower(self): self.assertEqual(get_colour("#aaaaaa"), "#aaa")
def test_blue_upper(self): self.assertEqual(get_colour("#0000FF"), "blue")
def test_blue_mixed(self): self.assertEqual(get_colour("#0000Ff"), "blue")
def test_blue_lower(self): self.assertEqual(get_colour("#0000ff"), "blue")