diff test/test_complex.yeti @ 57:08b2b9fce25c

Remove the complex constants; they're not very useful and pollute the namespace
author Chris Cannam
date Wed, 09 Jan 2013 21:35:37 +0000
parents d037211bf5d7
children
line wrap: on
line diff
--- a/test/test_complex.yeti	Tue Jan 08 19:54:27 2013 +0000
+++ b/test/test_complex.yeti	Wed Jan 09 21:35:37 2013 +0000
@@ -1,6 +1,6 @@
 module test.test_complex;
 
-{ i, one, zero, real, imaginary, complex, magnitude, angle, add, scale }
+{ real, imaginary, complex, magnitude, angle, add, scale }
    = load complex;
 
 { compare } = load test.test;
@@ -40,12 +40,6 @@
     compare (scale 4 (complex 2 3)) (complex 8 12)
 ),
 
-"constants": \(
-    compare (complex 0 1) i and
-        compare (complex 1 0) one and
-        compare (complex 0 0) zero
-),
-
 ] is hash<string, () -> boolean>;