Step 2: Test empty vectors and hash-maps
authorBen Harris <bjh21@bjh21.me.uk>
Thu, 28 May 2020 10:28:38 +0000 (11:28 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Thu, 28 May 2020 10:28:38 +0000 (11:28 +0100)
commita8e337b2917adbbe8c436ccb406cb2061d5416f3
tree47877d993b62dab674a1683ac7e7e0a4aa5a6f61
parent805ae7b280526da3f0d342d1bfaff7fa157c6ad4
Step 2: Test empty vectors and hash-maps

An empty vector or hash-map should evaluate to itself, but I reached
the test of (empty? []) in step 4 before I discovered that I'd got []
evaluating to 0.  Add tests for both cases to step 2.
impls/tests/step2_eval.mal