From c36d2a16e06e2f3ca9c9c3f8d969411bc8c28f01 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Mon, 24 Jan 2022 20:40:33 -0800 Subject: 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. --- csc/list-test.csc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'csc/list-test.csc') 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)))))) -- cgit v1.3.1