mirror of
https://github.com/kanaka/mal.git
synced 2024-09-21 02:27:10 +03:00
Go: removed some redundant tests
This commit is contained in:
parent
07bd1c1ff1
commit
9bc61630d2
@ -1,34 +0,0 @@
|
||||
;; Testing evaluation of excessive arguments
|
||||
(+ 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(+ 1 2)
|
||||
;=>3
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+ 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of excessive arguments
|
||||
(- 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(- 1 2)
|
||||
;=>-1
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(- 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(-)
|
||||
;=>Error: wrong number of arguments
|
||||
|
@ -1,37 +0,0 @@
|
||||
;; Go: skipping non-TCO recursion
|
||||
;; Reason: completes even at 100,000
|
||||
|
||||
;; Testing evaluation of excessive arguments
|
||||
(+ 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(+ 1 2)
|
||||
;=>3
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+ 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of excessive arguments
|
||||
(= 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(= 1 2)
|
||||
;=>false
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(= 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(=)
|
||||
;=>Error: wrong number of arguments
|
||||
|
@ -1,34 +0,0 @@
|
||||
;; Testing evaluation of excessive arguments
|
||||
(+ 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(+ 1 2)
|
||||
;=>3
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+ 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of excessive arguments
|
||||
(= 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(= 1 2)
|
||||
;=>false
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(= 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(=)
|
||||
;=>Error: wrong number of arguments
|
||||
|
@ -1,34 +0,0 @@
|
||||
;; Testing evaluation of excessive arguments
|
||||
(+ 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(+ 1 2)
|
||||
;=>3
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+ 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of excessive arguments
|
||||
(= 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(= 1 2)
|
||||
;=>false
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(= 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(=)
|
||||
;=>Error: wrong number of arguments
|
||||
|
@ -1,34 +0,0 @@
|
||||
;; Testing evaluation of excessive arguments
|
||||
(+ 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(+ 1 2)
|
||||
;=>3
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+ 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of excessive arguments
|
||||
(= 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(= 1 2)
|
||||
;=>false
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(= 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(=)
|
||||
;=>Error: wrong number of arguments
|
||||
|
@ -1,34 +0,0 @@
|
||||
;; Testing evaluation of excessive arguments
|
||||
(+ 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(+ 1 2)
|
||||
;=>3
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+ 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of excessive arguments
|
||||
(= 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(= 1 2)
|
||||
;=>false
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(= 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(=)
|
||||
;=>Error: wrong number of arguments
|
||||
|
@ -1,34 +0,0 @@
|
||||
;; Testing evaluation of excessive arguments
|
||||
(+ 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(+ 1 2)
|
||||
;=>3
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+ 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(+)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of excessive arguments
|
||||
(= 1 2 3)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Valid call
|
||||
(= 1 2)
|
||||
;=>false
|
||||
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(= 1)
|
||||
;=>Error: wrong number of arguments
|
||||
|
||||
;; Testing evaluation of missing arguments
|
||||
(=)
|
||||
;=>Error: wrong number of arguments
|
||||
|
Loading…
Reference in New Issue
Block a user