def test_rgb_to_hsl_part_6():
 assert (rgb_to_hsl(0, 0, 255) == (240, 100, 50))
 assert (rgb_to_hsl(51, 0, 255) == (252, 100, 50))
 assert (rgb_to_hsl(102, 0, 255) == (264, 100, 50))
 assert (rgb_to_hsl(153, 0, 255) == (276, 100, 50))
 assert (rgb_to_hsl(204, 0, 255) == (288, 100, 50))
 assert (rgb_to_hsl(255, 0, 255) == (300, 100, 50))
 assert (rgb_to_hsl(255, 0, 204) == (312, 100, 50))
 assert (rgb_to_hsl(255, 0, 153) == (324, 100, 50))
 assert (rgb_to_hsl(255, 0, 102) == (336, 100, 50))
 assert (rgb_to_hsl(255, 0, 51) == (348, 100, 50))

def test_rgb_to_hsl_part_6 ( ) : assert ( rgb_to_hsl ( 0 , 0 , 255 ) == ( 240 , 100 , 50 ) ) assert ( rgb_to_hsl ( 51 , 0 , 255 ) == ( 252 , 100 , 50 ) ) assert ( rgb_to_hsl ( 102 , 0 , 255 ) == ( 264 , 100 , 50 ) ) assert ( rgb_to_hsl ( 153 , 0 , 255 ) == ( 276 , 100 , 50 ) ) assert ( rgb_to_hsl ( 204 , 0 , 255 ) == ( 288 , 100 , 50 ) ) assert ( rgb_to_hsl ( 255 , 0 , 255 ) == ( 300 , 100 , 50 ) ) assert ( rgb_to_hsl ( 255 , 0 , 204 ) == ( 312 , 100 , 50 ) ) assert ( rgb_to_hsl ( 255 , 0 , 153 ) == ( 324 , 100 , 50 ) ) assert ( rgb_to_hsl ( 255 , 0 , 102 ) == ( 336 , 100 , 50 ) ) assert ( rgb_to_hsl ( 255 , 0 , 51 ) == ( 348 , 100 , 50 ) )
test rgb to hsl color function .