def test_make_color_dict(self): """make_color_dict: returns dict of named colors""" self.assertEqual(make_color_dict('red',(0,100,100),'white',(0,0,100),3), { 'redtowhite3_0':[0,100,100], 'redtowhite3_1':[0,50,100], 'redtowhite3_2':[0,0,100], })
def test_make_color_dict(self): """make_color_dict: returns dict of named colors""" self.assertEqual( make_color_dict("red", (0, 100, 100), "white", (0, 0, 100), 3), {"redtowhite3_0": [0, 100, 100], "redtowhite3_1": [0, 50, 100], "redtowhite3_2": [0, 0, 100]}, )