String calculator
We use this kata to develop the fundamentals of classic TDD.
Overview
Objectives
Parse the input and return the correct sum of the numbers
Handle an unknown amount of numbers
Handle newline as well as commas between numbers
Support custom delimiters
Throw an exception when passed a negative number
Numbers greater than 1000 are reset to 0
Support multiple custom delimiters
Last updated