diff options
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() { |