Commit graph

6 commits

Author SHA1 Message Date
e8d2b769f3 RED: Test exposing missing feature - ignore numbers > 1000
- Test expects '2,1001' to return 2 (1001 ignored)
- Currently returns 1003 (includes all numbers)
- Feature not implemented yet
- Expected: <2>, Actual: <1003>
2026-02-18 12:58:24 +07:00
6deaaaa8dc RED: Test exposing custom delimiter bug
- Test expects '//;\n1;2' to return 3
- Currently fails with FormatException
- Custom delimiter extraction is commented out
- Tries to parse '1;2' as single number, fails
2026-02-18 12:57:56 +07:00
ebaa21ca27 RED: Test exposing comma-delimited summation bug
- Test expects '1,2' to return 3
- Currently returns 1 (missing last element)
- Summation loop has off-by-one: for (i < length - 1)
- Expected: <3>, Actual: <1>
- Expected: <6>, Actual: <3>
2026-02-18 12:56:53 +07:00
d30267bcc6 RED: Test exposing single number parsing bug
- Test expects single number '5' to return 5
- Currently returns 6 (off-by-one error)
- Expected: <5>, Actual: <6>
2026-02-18 12:56:28 +07:00
e38bac9441 RED: Test exposing empty string bug
- Test expects empty string to return 0
- Currently returns 1 instead
- Expected: <0>, Actual: <1>
2026-02-18 12:56:05 +07:00
279c381872 feat: Add buggy String Calculator implementation
- Implements basic string calculator with 5 intentional bugs
- Bug 1: Empty string returns 1 instead of 0
- Bug 2: Single number has off-by-one error
- Bug 3: Summation loop misses last element
- Bug 4: Newline delimiter not properly handled
- Bug 5: Custom delimiter parsing broken
- Ready for Bug Hunt Kata with TDD approach
2026-02-18 12:55:51 +07:00