From c377e7f251b46d67bfa8ba38ba7d64fc5aa0fb44 Mon Sep 17 00:00:00 2001 From: Muhamed <Muhamedalici@hotmail.de> Date: Thu, 27 Mar 2025 22:37:48 +0100 Subject: [PATCH] delim +++ --- String calculator | 2 ++ 1 file changed, 2 insertions(+) diff --git a/String calculator b/String calculator index f118540..e168e36 100644 --- a/String calculator +++ b/String calculator @@ -125,6 +125,8 @@ class TestStingCalculator(unittest.TestCase): self.assertEqual(str(e.exception),"negatives not allowed: -3") def test_custom_delimiter(self): self.assertEqual(self.calculator.add("//[***]\n1***2***3"),6) + def test_custom_del(self): + self.assertEqual(self.calculator.add("//[+++]\n1+++2+++3"),6) -- GitLab