Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add descriptions to Roman numerals canonical data. #451

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 36 additions & 18 deletions exercises/roman-numerals/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,75 +1,93 @@
{
"cases": [
{
"number" : 1,
"description" : "1 is I in Roman numerals",
"number" : 1,
"expected": "I"
},
{
"number" : 2,
"description" : "2 is II in Roman numerals",
"number" : 2,
"expected": "II"
},
{
"number" : 3,
"description" : "3 is III in Roman numerals",
"number" : 3,
"expected": "III"
},
{
"number" : 4,
"description" : "4 is IV in Roman numerals",
"number" : 4,
"expected": "IV"
},
{
"number" : 5,
"description" : "5 is V in Roman numerals",
"number" : 5,
"expected": "V"
},
{
"number" : 6,
"description" : "6 is VI in Roman numerals",
"number" : 6,
"expected": "VI"
},
{
"number" : 9,
"description" : "9 is IX in Roman numerals",
"number" : 9,
"expected": "IX"
},
{
"number" : 27,
"description" : "27 is XXVII in Roman numerals",
"number" : 27,
"expected": "XXVII"
},
{
"number" : 48,
"description" : "48 is XLVIII in Roman numerals",
"number" : 48,
"expected": "XLVIII"
},
{
"number" : 59,
"description" : "59 is LIX in Roman numerals",
"number" : 59,
"expected": "LIX"
},
{
"number" : 93,
"description" : "93 is XCIII in Roman numerals",
"number" : 93,
"expected": "XCIII"
},
{
"number" : 141,
"description" : "141 is CXLI in Roman numerals",
"number" : 141,
"expected": "CXLI"
},
{
"number" : 163,
"description" : "163 is CLXIII in Roman numerals",
"number" : 163,
"expected": "CLXIII"
},
{
"number" : 402,
"description" : "402 is CDII in Roman numerals",
"number" : 402,
"expected": "CDII"
},
{
"number" : 575,
"description" : "575 is DLXXV in Roman numerals",
"number" : 575,
"expected": "DLXXV"
},
{
"number" : 911,
"description" : "911 is CMXI in Roman numerals",
"number" : 911,
"expected": "CMXI"
},
{
"number" : 1024,
"description" : "1024 is MXXIV in Roman numerals",
"number" : 1024,
"expected": "MXXIV"
},
{
"number" : 3000,
"description" : "3000 is MMM in Roman numerals",
"number" : 3000,
"expected": "MMM"
}
]
Expand Down