]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/colors/ryb/ryb-tests.factor
colors: merge colors.constants and colors.hex.
[factor.git] / basis / colors / ryb / ryb-tests.factor
index c798ed8d3dab0e2d7d25873f66a268e5c2bb9301..6a5bfb698ce7fd801b5e0bad0b6a61ef58863846 100644 (file)
@@ -8,9 +8,7 @@ ranges sequences tools.test ;
     0.0 1.0 0.1 <range> [| r |
         0.0 1.0 0.1 <range> [| g |
             0.0 1.0 0.1 <range> [| b |
-                r g b 1.0 <rgba> dup >ryba >rgba
-                [ >rgba-components 4array ] bi@
-                [ 0.00000001 ~ ] 2all?
+                r g b 1.0 <rgba> dup >ryba color=
             ] all?
         ] all?
     ] all?