def test_rgb_to_hsl_part_5():
 assert (rgb_to_hsl(0, 255, 0) == (120, 100, 50))
 assert (rgb_to_hsl(0, 255, 51) == (132, 100, 50))
 assert (rgb_to_hsl(0, 255, 102) == (144, 100, 50))
 assert (rgb_to_hsl(0, 255, 153) == (156, 100, 50))
 assert (rgb_to_hsl(0, 255, 204) == (168, 100, 50))
 assert (rgb_to_hsl(0, 255, 255) == (180, 100, 50))
 assert (rgb_to_hsl(0, 204, 255) == (192, 100, 50))
 assert (rgb_to_hsl(0, 153, 255) == (204, 100, 50))
 assert (rgb_to_hsl(0, 102, 255) == (216, 100, 50))
 assert (rgb_to_hsl(0, 51, 255) == (228, 100, 50))
 assert (rgb_to_hsl(0, 0, 255) == (240, 100, 50))

def test_rgb_to_hsl_part_5 ( ) : assert ( rgb_to_hsl ( 0 , 255 , 0 ) == ( 120 , 100 , 50 ) ) assert ( rgb_to_hsl ( 0 , 255 , 51 ) == ( 132 , 100 , 50 ) ) assert ( rgb_to_hsl ( 0 , 255 , 102 ) == ( 144 , 100 , 50 ) ) assert ( rgb_to_hsl ( 0 , 255 , 153 ) == ( 156 , 100 , 50 ) ) assert ( rgb_to_hsl ( 0 , 255 , 204 ) == ( 168 , 100 , 50 ) ) assert ( rgb_to_hsl ( 0 , 255 , 255 ) == ( 180 , 100 , 50 ) ) assert ( rgb_to_hsl ( 0 , 204 , 255 ) == ( 192 , 100 , 50 ) ) assert ( rgb_to_hsl ( 0 , 153 , 255 ) == ( 204 , 100 , 50 ) ) assert ( rgb_to_hsl ( 0 , 102 , 255 ) == ( 216 , 100 , 50 ) ) assert ( rgb_to_hsl ( 0 , 51 , 255 ) == ( 228 , 100 , 50 ) ) assert ( rgb_to_hsl ( 0 , 0 , 255 ) == ( 240 , 100 , 50 ) )
test rgb to hsl color function .