text: import { test } from 'mapbox-gl-js-test';
  import * as colorSpaces from '../../../../src/style-spec/util/color_spaces';
  import Color from '../../../../src/style-spec/util/color';
  
  test('#hclToRgb zero', (t) => {
      const hclColor = {h: 0, c: 0, l: 0, alpha: null};
      const rgbColor = new Color(0, 0, 0, null);
      t.deepEqual(colorSpaces.hcl.reverse(hclColor), rgbColor);
      t.end();
  });
  
  test('#hclToRgb', (t) => {
      const hclColor = {h: 20, c: 20, l: 20, alpha: null};
      const rgbColor = new Color(76.04087881379073, 36.681898967046166, 39.08743507357837, null);
      t.deepEqual(colorSpaces.hcl.reverse(hclColor), rgbColor);
      t.end();
  });
  
  test('#rgbToHcl zero', (t) => {
      const hclColor = {h: 0, c: 0, l: 0, alpha: null};
      const rgbColor = new Color(0, 0, 0, null);
      t.deepEqual(colorSpaces.hcl.forward(rgbColor), hclColor);
      t.end();
  });
  
  test('#rgbToHcl', (t) => {
      const hclColor = {h: 158.19859051364818, c: 0.0000029334887311101764, l: 6.318928745123017, alpha: null};
      const rgbColor = new Color(20, 20, 20, null);
      t.deepEqual(colorSpaces.hcl.forward(rgbColor), hclColor);
      t.end();
  });
  