Skip to content

Commit

Permalink
exercises(roman-numerals): add test case for 3888
Browse files Browse the repository at this point in the history
Reflect the upstream change [1].

[1] exercism/problem-specifications@438990d05c31
  • Loading branch information
ee7 committed May 4, 2024
1 parent a9c9299 commit 99c1617
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exercises/practice/roman-numerals/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,8 @@ description = "3000 is MMM"
[3bc4b41c-c2e6-49d9-9142-420691504336]
description = "3001 is MMMI"

[2f89cad7-73f6-4d1b-857b-0ef531f68b7e]
description = "3888 is MMMDCCCLXXXVIII"

[4e18e96b-5fbb-43df-a91b-9cb511fe0856]
description = "3999 is MMMCMXCIX"
3 changes: 3 additions & 0 deletions exercises/practice/roman-numerals/test_roman_numerals.nim
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,8 @@ suite "Roman Numerals":
test "3001 is MMMI":
check roman(3001) == "MMMI"

test "3888 is MMMDCCCLXXXVIII":
check roman(3888) == "MMMDCCCLXXXVIII"

test "3999 is MMMCMXCIX":
check roman(3999) == "MMMCMXCIX"

0 comments on commit 99c1617

Please sign in to comment.