code: def test_rgb_to_hsl_part_0():
      """Test rgb to hsl color function"""
      assert rgb_to_hsl(255, 0, 0) == (0, 100, 50)
      assert rgb_to_hsl(255, 255, 0) == (60, 100, 50)
      assert rgb_to_hsl(0, 255, 0) == (120, 100, 50)
      assert rgb_to_hsl(0, 255, 255) == (180, 100, 50)
      assert rgb_to_hsl(0, 0, 255) == (240, 100, 50)
      assert rgb_to_hsl(255, 0, 255) == (300, 100, 50)
  
imports: from __future__ import division
  from pygal.colors import darken, desaturate, hsl_to_rgb, lighten, parse_color, rgb_to_hsl, rotate, saturate, unparse_color
label_desc: Use image node_id 9 for calling a global function with example usage: test_rgb_to_hsl_part_0() without return types