Added tests

pull/2/head
Mark 2023-06-07 15:23:29 -07:00
parent fe58addcc2
commit 67a03d53df
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 4 additions and 0 deletions

View File

@ -170,7 +170,11 @@ fn operators() {
good_expr("7", "3!+1"); good_expr("7", "3!+1");
good_expr("18", "3!3"); good_expr("18", "3!3");
good_expr("9.3326e157", "1e2!");
bad_expr("3.1!"); bad_expr("3.1!");
bad_expr("1e10!");
bad_expr("1e5!");
bad_expr("0^(-1)"); bad_expr("0^(-1)");
bad_expr("pi!"); bad_expr("pi!");
} }