From 8465f5fbcbf94b5fefc5ed0939307bda148422f0 Mon Sep 17 00:00:00 2001 From: Marco Zank <52705419+mzank@users.noreply.github.com> Date: Wed, 15 Apr 2026 11:31:45 +0200 Subject: [PATCH 1/2] test: fix test for multiply; fixes #1 --- tests/test_mulitply.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_mulitply.py b/tests/test_mulitply.py index 7c6eb10..508b99c 100644 --- a/tests/test_mulitply.py +++ b/tests/test_mulitply.py @@ -8,5 +8,5 @@ def test_multiply(): assert multiply(3.0, 6.0) == approx(18.0) - assert multiply(-2.4, 3.5) == approx(8.4) + assert multiply(-2.4, 3.5) == approx(-8.4) \ No newline at end of file From 38cf9de8384e6b47ea56151cd6eaab2d24419769 Mon Sep 17 00:00:00 2001 From: Marco Zank <52705419+mzank@users.noreply.github.com> Date: Wed, 15 Apr 2026 11:38:58 +0200 Subject: [PATCH 2/2] test: add new test for multiply --- tests/test_mulitply.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_mulitply.py b/tests/test_mulitply.py index 508b99c..6f01cb0 100644 --- a/tests/test_mulitply.py +++ b/tests/test_mulitply.py @@ -9,4 +9,5 @@ def test_multiply(): assert multiply(3.0, 6.0) == approx(18.0) assert multiply(-2.4, 3.5) == approx(-8.4) - \ No newline at end of file + assert multiply(5.6, -2.8) == approx(-15.68) +