   (should (equal (husl/-hex-to-rgb "#010101")
                  [0.00392156862745098 0.00392156862745098 0.00392156862745098])))
 
-;; (ert-deftest test-max-safe-chroma-for-l ()
-;;   (should (equal (husl/-max-safe-chroma-for-l 50) 0.00422949551579437)))
+(ert-deftest test-max-safe-chroma-for-l ()
+  (should (equal (husl/-max-safe-chroma-for-l 50) 10.061519430821551)))
 
 (ert-deftest test-y-to-l ()
   (should (equal (husl/-y-to-l 0.5) 76.06926101415557)))

;;                 66.4684397846863
;;                 -30.54979105634606
;;                 -35.56297143225253])))

;; (ert-deftest test-conv-xyz-luv ()
;;   (should (eql (husl/conv-xyz-luv
;;                 0.03146462160095975
;;                 0.033104766570885055
;;                 0.03605300262111889)
;;                '(
;;                  21.24673129498138
;;                  7.666298341556465e-15
;;                  0))))

(ert-deftest test-conv-xyz-luv ()
  (should (equal (husl/-xyz-to-luv 21.24673129498138 7.666298341556465e-15 0)

                  46.88298913974675
                  229.3363102843981])))

(ert-deftest test-get-bounds ()
  (should (equal (husl/-get-bounds 1)
                 [[-8.021739130434913 -6.370563018241111]
                  [0.008495838735633148 -6.0878608405761545]
                  [1.325964991023324 -3.6495554177681284]
                  [-0.002453300274148112 -6.092671840000601]
                  [-0.12162162162162199 1.1091899201577262]
                  [-0.0007345641271965095 -6.044689744090016]])))

(ert-deftest test-hex-to-rgb ()
  (should (equal (husl/-hex-to-rgb "#DDEEFF")
