From 4410503e8046ca7271f3912f02ccd3219d309fa9 Mon Sep 17 00:00:00 2001 From: Yunchuan Date: Sat, 24 Jun 2023 14:58:27 +0800 Subject: [PATCH] completed --- Remy/__init__.py | 0 Remy/test_addition.py | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 Remy/__init__.py create mode 100644 Remy/test_addition.py diff --git a/Remy/__init__.py b/Remy/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/Remy/test_addition.py b/Remy/test_addition.py new file mode 100644 index 0000000..e5aa958 --- /dev/null +++ b/Remy/test_addition.py @@ -0,0 +1,9 @@ +def add(a, b): + """Add a and b""" + return a+b + + +def test_add(): + assert add(1, 1) == 2 + assert add(0, 0) == 0 + assert add(1, -1) == 0