From fb89b8c0885ee4e289cfb577bbabf0ee66b05024 Mon Sep 17 00:00:00 2001 From: geno Date: Wed, 26 Jun 2024 18:23:05 +0200 Subject: test dir added, fix bug in ExprNode (added by myself obv) --- test/1a.py | 8 ++++++++ test/1b.py | 6 ++++++ test/1c.py | 5 +++++ 3 files changed, 19 insertions(+) create mode 100644 test/1a.py create mode 100644 test/1b.py create mode 100644 test/1c.py (limited to 'test') diff --git a/test/1a.py b/test/1a.py new file mode 100644 index 0000000..69b3dc5 --- /dev/null +++ b/test/1a.py @@ -0,0 +1,8 @@ + +x = 2 +y = z + +def f(x, y): + return x + y + +print(f(5, 3) + x + y) diff --git a/test/1b.py b/test/1b.py new file mode 100644 index 0000000..a8324a0 --- /dev/null +++ b/test/1b.py @@ -0,0 +1,6 @@ +x = 2 ; y = 3 + +def f(x, x): + return x+y + +print(f(5,3)+ x + y) diff --git a/test/1c.py b/test/1c.py new file mode 100644 index 0000000..59e51e5 --- /dev/null +++ b/test/1c.py @@ -0,0 +1,5 @@ + +def mult(a, b): + return a * b + +print(mult(3, 2, 4)) -- cgit v1.2.3-18-g5258