]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/colors/yiq/yiq-tests.factor
colors: moving some color definitions from extra/ to basis/.
[factor.git] / extra / colors / yiq / yiq-tests.factor
diff --git a/extra/colors/yiq/yiq-tests.factor b/extra/colors/yiq/yiq-tests.factor
deleted file mode 100644 (file)
index dbb5b3f..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-! Copyright (C) 2013 John Benediktsson
-! See http://factorcode.org/license.txt for BSD license
-
-USING: arrays colors colors.yiq kernel locals math.functions
-math.ranges sequences tools.test ;
-
-{ t } [
-    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 >yiqa >rgba
-                [ >rgba-components 4array ] bi@
-                [ 0.00000001 ~ ] 2all?
-            ] all?
-        ] all?
-    ] all?
-] unit-test