Skip to content

Commit 3a11388

Browse files
committed
modified test suite
1 parent 6eca440 commit 3a11388

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test.naggum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
(defun test-funcall (test-arg)
2+
(System.Console.Write "Functions: ")
23
(System.Console.WriteLine test-arg))
34

45
(defun test-conditionals ()
@@ -41,7 +42,7 @@
4142
(System.Console.Write "2*3=") (System.Console.WriteLine (* 2 3))
4243
(System.Console.Write "2/2=") (System.Console.WriteLine (/ 2 2))
4344

44-
(System.Console.WriteLine "Floats")
45+
(System.Console.WriteLine "Floats:")
4546
(System.Console.Write "2.0 + 0.5=") (System.Console.WriteLine (+ 2.0 0.5))
4647
(System.Console.Write "3.0 - 1.5=") (System.Console.WriteLine (- 3.0 1.5))
4748
(System.Console.Write "2.0 * 0.7=") (System.Console.WriteLine (* 2.0 0.7))
@@ -55,13 +56,12 @@
5556

5657
(System.Console.WriteLine "Naggum test suite")
5758

58-
(System.Console.Write "Functions: ")
5959
(test-funcall "OK")
60-
6160
(test-conditionals)
6261
(test-let)
6362
(test-quote)
6463
(test-new)
6564
(test-cons)
66-
(test-math)
65+
(test-quote)
6766
(test-instance-call)
67+
(test-math)

0 commit comments

Comments
 (0)