Some more cases.
authorTaylor R Campbell <campbell@mumble.net>
Sun, 18 Nov 2018 04:00:17 +0000 (04:00 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sun, 18 Nov 2018 06:11:43 +0000 (06:11 +0000)
tests/runtime/test-numpar.scm

index 93b567b796960f86378417ee8dcf159447fca230..c39fd73664d0f2dd2c300a865804d94c1a28c142 100644 (file)
@@ -133,3 +133,14 @@ USA.
 (define-eqv-test "0.-2i" (make-rectangular +0. -2))
 (define-eqv-test "-0.+2i" (make-rectangular -0. 2))
 (define-eqv-test "-0.-2i" (make-rectangular -0. -2))
+
+(define-eqv-test "2" (make-rectangular 2 0))
+(define-eqv-test "-2" (make-rectangular -2 0))
+(define-eqv-test "2+0i" (make-rectangular 2 0))
+(define-eqv-test "2-0i" (make-rectangular 2 0))
+(define-eqv-test "-2+0i" (make-rectangular -2 0))
+(define-eqv-test "-2-0i" (make-rectangular -2 0))
+(define-eqv-test "2+0.i" (make-rectangular 2 0.))
+(define-eqv-test "-2+0.i" (make-rectangular -2 0.))
+(define-eqv-test "2-0.i" (make-rectangular 2 -0.))
+(define-eqv-test "-2-0.i" (make-rectangular -2 -0.))