def test_hsl_to_rgb_part_2():
 assert (hsl_to_rgb(360, 100, 50) == (255, 0, 0))
 assert (hsl_to_rgb(420, 100, 50) == (255, 255, 0))
 assert (hsl_to_rgb(480, 100, 50) == (0, 255, 0))
 assert (hsl_to_rgb(540, 100, 50) == (0, 255, 255))
 assert (hsl_to_rgb(600, 100, 50) == (0, 0, 255))
 assert (hsl_to_rgb(660, 100, 50) == (255, 0, 255))

def test_hsl_to_rgb_part_2 ( ) : assert ( hsl_to_rgb ( 360 , 100 , 50 ) == ( 255 , 0 , 0 ) ) assert ( hsl_to_rgb ( 420 , 100 , 50 ) == ( 255 , 255 , 0 ) ) assert ( hsl_to_rgb ( 480 , 100 , 50 ) == ( 0 , 255 , 0 ) ) assert ( hsl_to_rgb ( 540 , 100 , 50 ) == ( 0 , 255 , 255 ) ) assert ( hsl_to_rgb ( 600 , 100 , 50 ) == ( 0 , 0 , 255 ) ) assert ( hsl_to_rgb ( 660 , 100 , 50 ) == ( 255 , 0 , 255 ) )
test hsl to rgb color function .