Skip to content

Commit 4c64847

Browse files
authored
Sync tests for roman-numerals (#420)
[no important files changed]
1 parent 6f1019e commit 4c64847

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

exercises/practice/roman-numerals/.meta/tests.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,8 @@ description = "3000 is MMM"
8484
[3bc4b41c-c2e6-49d9-9142-420691504336]
8585
description = "3001 is MMMI"
8686

87+
[2f89cad7-73f6-4d1b-857b-0ef531f68b7e]
88+
description = "3888 is MMMDCCCLXXXVIII"
89+
8790
[4e18e96b-5fbb-43df-a91b-9cb511fe0856]
8891
description = "3999 is MMMCMXCIX"

exercises/practice/roman-numerals/roman-numerals-test.rkt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@
110110
(to-roman 3001)
111111
"MMMI")
112112

113+
(test-equal? "3888 is MMMDCCCLXXXVIII"
114+
(to-roman 3888)
115+
"MMMDCCCLXXXVIII")
116+
113117
(test-equal? "3999 is MMMCMXCIX"
114118
(to-roman 3999)
115119
"MMMCMXCIX")))

0 commit comments

Comments
 (0)