From dab3b1d51ea9f7f314a37aecb643dc4b7e52fe98 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 24 Apr 2018 14:13:29 -0400 Subject: tests to folder --- tests/test1 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/test1 (limited to 'tests/test1') diff --git a/tests/test1 b/tests/test1 new file mode 100644 index 0000000..cc04423 --- /dev/null +++ b/tests/test1 @@ -0,0 +1,18 @@ +# test1 +# arithmetic tests +# looking for proper basic function, respect for order of ops, +# and respect for parentheses + +print(2 + 5) +print(14 - 9) +print(3 * 8 + 3) +print(9 - 3 / 2) +print(3 * (8 + 3)) +print((9 - 3) / 2) +print((4 + 5) * ((9 - 1) + 3)) +print(5 - 3 + 4) +print("") +print(-4) +print(-4 + -3) +print(-8+13) +print(4- -9) -- cgit v1.2.3