From ce26a90458faa64d96269e8c9333c9201a8fccc4 Mon Sep 17 00:00:00 2001 From: Yi Wu Date: Mon, 12 Oct 2026 18:06:59 +0800 Subject: [PATCH] Update test_add.py --- test_add.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_add.py b/test_add.py index 3e51fb5..ee074bd 100644 --- a/test_add.py +++ b/test_add.py @@ -5,3 +5,6 @@ def test_add_positive(): def test_add_zero(): assert add(0, 5) == 5 + +def test_add_with_negative(): + assert add(-1, -2) == -3