def test_rgb_to_hsl_part_18():
 assert (rgb_to_hsl(51, 0, 51) == (300, 100, 10))
 assert (rgb_to_hsl(102, 0, 102) == (300, 100, 20))
 assert (rgb_to_hsl(153, 0, 153) == (300, 100, 30))
 assert (rgb_to_hsl(204, 0, 204) == (300, 100, 40))
 assert (rgb_to_hsl(255, 0, 255) == (300, 100, 50))
 assert (rgb_to_hsl(255, 51, 255) == (300, 100, 60))
 assert (rgb_to_hsl(255, 102, 255) == (300, 100, 70))
 assert (rgb_to_hsl(255, 153, 255) == (300, 100, 80))
 assert (rgb_to_hsl(255, 204, 255) == (300, 100, 90))

def test_rgb_to_hsl_part_18 ( ) : assert ( rgb_to_hsl ( 51 , 0 , 51 ) == ( 300 , 100 , 10 ) ) assert ( rgb_to_hsl ( 102 , 0 , 102 ) == ( 300 , 100 , 20 ) ) assert ( rgb_to_hsl ( 153 , 0 , 153 ) == ( 300 , 100 , 30 ) ) assert ( rgb_to_hsl ( 204 , 0 , 204 ) == ( 300 , 100 , 40 ) ) assert ( rgb_to_hsl ( 255 , 0 , 255 ) == ( 300 , 100 , 50 ) ) assert ( rgb_to_hsl ( 255 , 51 , 255 ) == ( 300 , 100 , 60 ) ) assert ( rgb_to_hsl ( 255 , 102 , 255 ) == ( 300 , 100 , 70 ) ) assert ( rgb_to_hsl ( 255 , 153 , 255 ) == ( 300 , 100 , 80 ) ) assert ( rgb_to_hsl ( 255 , 204 , 255 ) == ( 300 , 100 , 90 ) )
test rgb to hsl color function .