roman: add more tests
This commit is contained in:
parent
6f853c25d0
commit
b37f8a8d4c
@ -16,6 +16,10 @@ func TestRomanNemerals(t *testing.T) {
|
||||
{"7 gets converted to VII", 7, "VII"},
|
||||
{"9 gets converted to IX", 9, "IX"},
|
||||
{"10 gets converted to X", 10, "X"},
|
||||
{"14 gets converted to XIV", 14, "XIV"},
|
||||
{"18 gets converted to XVIII", 18, "XVIII"},
|
||||
{"20 gets converted to XX", 20, "XX"},
|
||||
{"39 gets converted to XXXIX", 39, "XXXIX"},
|
||||
}
|
||||
for _, test := range cases {
|
||||
t.Run(test.Description, func(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user