1
1
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:
Jordi Íñigo 2018-07-07 22:04:52 +02:00
parent 07bd1c1ff1
commit 9bc61630d2
7 changed files with 0 additions and 241 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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