]> gitweb.factorcode.org Git - factor.git/commitdiff
synth: adding some tests.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 27 Oct 2011 16:47:36 +0000 (09:47 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 27 Oct 2011 16:47:36 +0000 (09:47 -0700)
extra/synth/synth-tests.factor [new file with mode: 0644]

diff --git a/extra/synth/synth-tests.factor b/extra/synth/synth-tests.factor
new file mode 100644 (file)
index 0000000..5f07057
--- /dev/null
@@ -0,0 +1,13 @@
+USING: synth tools.test ;
+
+IN: synth.tests
+
+[
+    {
+        0.0
+        0.9510565162951535
+        0.5877852522924732
+        -0.587785252292473
+        -0.9510565162951536
+    }
+] [ 5 single-sine-wave ] unit-test