Commit graph

3 commits

Author SHA1 Message Date
77d48e790a GREEN: Fix single number parsing bug
- Removed +1 off-by-one error from single number parsing
- Now correctly returns the parsed number
- Tests pass: '5' returns 5, '42' returns 42
2026-02-18 12:56:40 +07:00
164adf815d GREEN: Fix empty string bug
- Changed return value from 1 to 0 for empty string
- Test now passes: empty string returns 0
2026-02-18 12:56:17 +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