Commit graph

24 commits

Author SHA1 Message Date
e411e38a31 RED: test convert 40 to XL 2026-02-10 09:12:54 +07:00
b12821147d REFACTOR: apply DRY, remove magic numbers, add conversionRules domain 2026-02-10 09:12:34 +07:00
7eed3f8e2a GREEN: add roman symbol for 10 2026-02-10 08:50:50 +07:00
2117e4c193 RED: test convert 10 to X 2026-02-10 08:50:33 +07:00
da8f7bbfb1 GREEN: add roman symbol for 9 2026-02-10 08:49:39 +07:00
0a87dc96cb RED: test convert 9 to IX 2026-02-10 08:48:59 +07:00
f6d75f15e1 GREEN: add roman symbol for 8 2026-02-10 08:45:51 +07:00
b5a216ccea RED: test convert 8 to VIII 2026-02-10 08:44:55 +07:00
6ad0556fcf GREEN: add roman symbol for 7 2026-02-10 08:44:18 +07:00
44845ed71b RED: test convert 7 to VII 2026-02-10 08:43:57 +07:00
445ba862ee GREEN: add roman symbol for 6 2026-02-10 08:43:00 +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
5c9962eb61 GREEN: return hardcoded "IV" for 4 2026-02-10 08:22:39 +07:00
87b7e79462 RED: test convert 4 to IV 2026-02-10 08:20:05 +07:00
1cfd2199ee GREEN: return hardcoded "V" for 5 2026-02-10 08:19:23 +07:00
0de7f67080 RED: test convert 5 to V 2026-02-10 08:17:06 +07:00
ba924edde7 GREEN: add simple logic to handle 1-3 2026-02-10 08:14:06 +07:00
6f5b2ab2f5 RED: test convert 3 to III 2026-02-10 08:12:28 +07:00
48b8967e0f GREEN: return hardcoded "II" for 2 2026-02-10 08:11:12 +07:00
a4e6689427 RED: test converts 2 to II 2026-02-10 08:10:32 +07:00
0faa1de47c GREEN: return hardcoded "I" for 1 2026-02-10 08:08:35 +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