'Test color_RGB_to_xy.'

def test_color_xy_brightness_to_RGB(self):

    self.assertEqual((0, 0, 0), color_util.color_xy_brightness_to_RGB(1, 1, 0))
    self.assertEqual((255, 243, 222), color_util.color_xy_brightness_to_RGB(0.35, 0.35, 255))
    self.assertEqual((255, 0, 60), color_util.color_xy_brightness_to_RGB(1, 0, 255))
    self.assertEqual((0, 255, 0), color_util.color_xy_brightness_to_RGB(0, 1, 255))
    self.assertEqual((0, 63, 255), color_util.color_xy_brightness_to_RGB(0, 0, 255))
