def test_hsl_to_rgb_part_1():
 assert (hsl_to_rgb((-360), 100, 50) == (255, 0, 0))
 assert (hsl_to_rgb((-300), 100, 50) == (255, 255, 0))
 assert (hsl_to_rgb((-240), 100, 50) == (0, 255, 0))
 assert (hsl_to_rgb((-180), 100, 50) == (0, 255, 255))
 assert (hsl_to_rgb((-120), 100, 50) == (0, 0, 255))
 assert (hsl_to_rgb((-60), 100, 50) == (255, 0, 255))

def test_hsl_to_rgb_part_1 ( ) : assert ( hsl_to_rgb ( ( - 360 ) , 100 , 50 ) == ( 255 , 0 , 0 ) ) assert ( hsl_to_rgb ( ( - 300 ) , 100 , 50 ) == ( 255 , 255 , 0 ) ) assert ( hsl_to_rgb ( ( - 240 ) , 100 , 50 ) == ( 0 , 255 , 0 ) ) assert ( hsl_to_rgb ( ( - 180 ) , 100 , 50 ) == ( 0 , 255 , 255 ) ) assert ( hsl_to_rgb ( ( - 120 ) , 100 , 50 ) == ( 0 , 0 , 255 ) ) assert ( hsl_to_rgb ( ( - 60 ) , 100 , 50 ) == ( 255 , 0 , 255 ) )
test hsl to rgb color function .