From 67a03d53df15a3942da6d117bfcecc4e6e7833ea Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 7 Jun 2023 15:23:29 -0700 Subject: [PATCH] Added tests --- src/tests.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tests.rs b/src/tests.rs index e62eadf..92d5b10 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -170,7 +170,11 @@ fn operators() { good_expr("7", "3!+1"); good_expr("18", "3!3"); + good_expr("9.3326e157", "1e2!"); + bad_expr("3.1!"); + bad_expr("1e10!"); + bad_expr("1e5!"); bad_expr("0^(-1)"); bad_expr("pi!"); }