This is a String Calculator made in Java using TDD which passes the following Testcases:
- Empty String must Return Zero
- String with Single Number Must Return That Number
- String with Two Numbers and Comma Delimiter must return the sum of Two Numbers
- String with Two Numbers and Newline Delimiter must return the sum of Two Numbers
- String with Three Numbers and Comma and Newline Delimiter must return the sum of Three Numbers
- String with Negative Numbers must throw Exception
- Ignore those elements in String whose value is greater than 1000
- Allowing Delimiters of Variable Length having format “//[delimiter]\n”
- Allowing Multiple Delimiters which can also have length more than one char “//[delim1][delim2]\n”
- Multiple delimiters when length of char is one : "//[-][%]\n1-2%3"
- Multiple delimiters when length of char is longer than one : "//[--][%%]\n1--2%%3"