diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-07 21:45:55 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-07 21:45:55 -0800 |
commit | 445361d76bdd6139161c5d524eb1fca2e43b527e (patch) | |
tree | 805828383ec8c587514d0a85e47f66dda74f69b7 /tests/canonicalize.rs | |
parent | e791ad57bcf2cb4460e254b458a631b5a5a48351 (diff) | |
download | casual-445361d76bdd6139161c5d524eb1fca2e43b527e.tar.gz casual-445361d76bdd6139161c5d524eb1fca2e43b527e.zip |
small test additions
Diffstat (limited to 'tests/canonicalize.rs')
-rw-r--r-- | tests/canonicalize.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/canonicalize.rs b/tests/canonicalize.rs index 3ef088a..2db0161 100644 --- a/tests/canonicalize.rs +++ b/tests/canonicalize.rs @@ -16,6 +16,8 @@ fn canonicalization() { ("(+ 1 2 b)", "(+ 3 b)"), ("(+ 1 2 3)", "6"), ("(* (/ 2 3) (/ 3 2))", "1"), + ("(^ (^ a 2) 3)", "(^ a 6)"), + ("(^ (/ 1 3) -1)", "3"), ]; for (input, output) in cases.iter() { |