Skip to content
Snippets Groups Projects
Commit c377e7f2 authored by Muhamed's avatar Muhamed
Browse files

delim +++

parent 6a4c557c
No related branches found
No related tags found
Loading
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment