Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 614 Bytes

User Story 02.md

File metadata and controls

15 lines (12 loc) · 614 Bytes

Summary

As an end-user, I want the calculator to accept a list of numbers with any length, so that I may calculate the sum of a collection of numbers.

Acceptance Criteria

  • Calculator can accept a list of n numbers in a single string format
  • Calculator correctly sums the string of numbers
  • Numbers are separated by a comma

Example Inputs and Outputs

  • "1,2,3,5" => 11

Remember

  • Start with the simplest test case of an empty string and move to 1 and 2 numbers
  • Solve things as simply as possible so that you force yourself to write tests you did not think about
  • Refactor after each passing test