def test_from_string_returns_Color_with_given_rbga_with_csv_four_valued_string(self):
     col = Color.from_string("251, 63, 1, 128")
     self.assertEqual(col.bgra(), (1, 63, 251, 128))
 def test_from_string_returns_Color_with_given_rbga_with_custom_seperator_four_valued_string(self):
     col = Color.from_string("251;63;1;128", ";")
     self.assertEqual(col.bgra(), (1, 63, 251, 128))
 def test_from_string_returns_Color_with_given_rbg_and_alpha255_with_csv_three_valued_string(self):
     col = Color.from_string("25, 100, 243")
     self.assertEqual(col.bgra(), (243, 100, 25, 255))