Added nil/nil testing. Still don't like the lack of an identity function.
This commit is contained in:
parent
1128645fe6
commit
279ba3e7a2
|
@ -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)))]
|
||||
|
|
Loading…
Reference in New Issue