Added nil/nil testing. Still don't like the lack of an identity function.

This commit is contained in:
Elf M. Sternberg 2015-06-27 10:45:20 -07:00
parent 1128645fe6
commit 279ba3e7a2
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ expect = chai.expect
describe "Basic list building", ->
for [t, v] in [
[cons(), cons()]
[cons(nil), cons(nil)]
[cons('a'), cons('a')]
[cons('a', cons('b', cons('c'))), cons('a', cons('b', cons('c')))]
[cons('a', cons('b', cons('c'))), cons('a', cons('b', cons('c', nil)))]