From 445361d76bdd6139161c5d524eb1fca2e43b527e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sun, 7 Nov 2021 21:45:55 -0800 Subject: small test additions --- tests/canonicalize.rs | 2 ++ 1 file changed, 2 insertions(+) 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() { -- cgit v1.2.3