Issue #530 - Adding more tests

This commit is contained in:
Justin Ethier 2024-03-14 18:57:09 -07:00
parent 92de62ce14
commit 0ea2457db6

View file

@ -107,9 +107,12 @@
"sqrt" "sqrt"
(test 1i (sqrt -1)) (test 1i (sqrt -1))
(test 1i (sqrt -1.0)) (test 1i (sqrt -1.0))
(test +i (sqrt -1.0))
(test 2 (sqrt 4)) (test 2 (sqrt 4))
(test 2.0 (sqrt 4.0)) (test 2.0 (sqrt 4.0))
(test 2i (sqrt -4.0)) (test 2i (sqrt -4.0))
(test #t (complex? (sqrt -1)))
(test #t (complex? (sqrt -i)))
) )
(test-group (test-group