diff options
| author | Rose Hogenson <rhogenson@posteo.net> | 2022-01-24 20:40:33 -0800 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@posteo.net> | 2022-01-24 20:40:33 -0800 |
| commit | c36d2a16e06e2f3ca9c9c3f8d969411bc8c28f01 (patch) | |
| tree | d7d0b5206202d5b4471806c96393cc01a46c4a34 /csc/list-test.csc | |
| parent | d1c59f340c623eb533f1b59564b0e3cd8f5ca728 (diff) | |
| download | chromatopelma-c36d2a16e06e2f3ca9c9c3f8d969411bc8c28f01.tar.zst | |
Finish the loop macro.
I also cleaned everything up a lot. Maybe there are still bugs because
the test coverage is awful, but for now I'm happy to be done.
Diffstat (limited to 'csc/list-test.csc')
| -rw-r--r-- | csc/list-test.csc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/csc/list-test.csc b/csc/list-test.csc index 6e910c0..d4c145a 100644 --- a/csc/list-test.csc +++ b/csc/list-test.csc @@ -93,3 +93,10 @@ (test filter-odd (assert-equal '(1 3 5 7 9) (filter odd? '(0 1 2 3 4 5 6 7 8 9)))) + + +(test unzip-empty + (assert (values= (values '() '()) (unzip '())))) + +(test unzip-simple + (assert (values= (values '(1 2 3) '(4 5 6)) (unzip '((1 . 4) (2 . 5) (3 . 6)))))) |
