diff options
author | Bad Diode <bd@badd10de.dev> | 2021-10-10 14:15:45 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-10-10 14:15:45 +0200 |
commit | 9323c1285a8a9f7ec33e88d26f102d92c7a6e2ec (patch) | |
tree | cfdc7470c4aa088ce77f92f6fff5c3683f92835a /tests | |
parent | 8f0c21094bc69a9adbebc42a4fc4744ed0501428 (diff) | |
download | bdl-9323c1285a8a9f7ec33e88d26f102d92c7a6e2ec.tar.gz bdl-9323c1285a8a9f7ec33e88d26f102d92c7a6e2ec.zip |
Add cond special form
Diffstat (limited to 'tests')
-rw-r--r-- | tests/booleans_expected.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/booleans_expected.txt b/tests/booleans_expected.txt index d05d314..f0612b8 100644 --- a/tests/booleans_expected.txt +++ b/tests/booleans_expected.txt | |||
@@ -41,3 +41,8 @@ | |||
41 | (if (or (+ 1 2 3) false) (+ 1 2 3) (+ 7 8 9)) -> 6 | 41 | (if (or (+ 1 2 3) false) (+ 1 2 3) (+ 7 8 9)) -> 6 |
42 | (if true 7) -> 7 | 42 | (if true 7) -> 7 |
43 | (if false 7) -> () | 43 | (if false 7) -> () |
44 | (cond ((and true true true) 1) ((or true true false) 2) (else 3)) -> 1 | ||
45 | (cond ((and true true false) 1) ((or true true false) 2) (else 3)) -> 2 | ||
46 | (cond ((and true true false) 1) ((or false false false) 2) (else 3)) -> 3 | ||
47 | (cond ((and true true true) 1) ((or true true false) 2)) -> () | ||
48 | (cond ((and true true true) (+ 1 2 3)) ((or true true false) 2) (else 3)) -> 6 | ||