Commit graph

39 commits

Author SHA1 Message Date
1078e1947e RED: test plateau boundaries with wrapping 2026-02-24 10:49:06 +07:00
9cc1ae42b0 RED: test executing command sequences 2026-02-24 10:48:04 +07:00
36003654c7 RED: test moving forward in all directions 2026-02-24 10:47:15 +07:00
df3823e3a9 RED: test turning right from all directions 2026-02-24 10:46:23 +07:00
630d366bbf RED: test turning left from all directions 2026-02-24 10:45:34 +07:00
0afac966fc RED: test rover initialization 2026-02-24 10:44:39 +07:00
d38a8c1107 format code 2026-02-18 14:29:55 +07:00
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
13f6bc231f RED: add tests for conjured items 2026-02-18 12:41:33 +07:00
7f05229104 GREEN: add characterization tests for legacy Gilded Rose code 2026-02-18 12:06:26 +07:00
a93a6abb28 REFACTOR: break down the logic into dedicated methods, tests cleaned up 2026-02-10 12:43:42 +07:00
9ca4accd7b RED: test one strike 2026-02-10 12:33:22 +07:00
f34c820c65 RED: test one spare 2026-02-10 11:39:05 +07:00
acf96ad482 REFACTOR: tests clean up 2026-02-10 11:36:11 +07:00
e4167c03a5 RED: test all ones 2026-02-10 11:22:23 +07:00
1f31a68df5 RED: test gutter game 2026-02-10 11:19:34 +07:00
216aa72d39 RED: test roman numerals contraints 2026-02-10 09:33:44 +07:00
5dfc85fc20 REFACTOR: organize tests into groups and add edge cases 2026-02-10 09:31:30 +07:00
ccfc795ee0 RED: test convert 400 (CD), 500 (D), 900 (CM), 1000 (M) 2026-02-10 09:24:03 +07:00
24cdceaa92 RED: test convert 90 to XC and 100 to C 2026-02-10 09:20:39 +07:00
44566369d0 RED: test convert 50 to L 2026-02-10 09:18:11 +07:00
e411e38a31 RED: test convert 40 to XL 2026-02-10 09:12:54 +07:00
2117e4c193 RED: test convert 10 to X 2026-02-10 08:50:33 +07:00
0a87dc96cb RED: test convert 9 to IX 2026-02-10 08:48:59 +07:00
b5a216ccea RED: test convert 8 to VIII 2026-02-10 08:44:55 +07:00
44845ed71b RED: test convert 7 to VII 2026-02-10 08:43:57 +07:00
dfa3b66ccb RED: test convert 6 to VI 2026-02-10 08:42:02 +07:00
c1a5ed7ed7 REFACTOR: extract logic and remove loop 2026-02-10 08:39:34 +07:00
87b7e79462 RED: test convert 4 to IV 2026-02-10 08:20:05 +07:00
0de7f67080 RED: test convert 5 to V 2026-02-10 08:17:06 +07:00
6f5b2ab2f5 RED: test convert 3 to III 2026-02-10 08:12:28 +07:00
a4e6689427 RED: test converts 2 to II 2026-02-10 08:10:32 +07:00
78f8e1a3a0 RED: test convert 1 to I 2026-02-10 08:06:33 +07:00
15f6698a94 initial commit 2026-02-10 08:03:09 +07:00