summaryrefslogtreecommitdiff
path: root/roman_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'roman_test.go')
-rw-r--r--roman_test.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/roman_test.go b/roman_test.go
index d5e3e75..3bd96fc 100644
--- a/roman_test.go
+++ b/roman_test.go
@@ -10,13 +10,11 @@ func TestRoman(t *testing.T) {
s string
}{
{0, ""},
+ {1666, "MDCLXVI"},
{1990, "MCMXC"},
{2008, "MMVIII"},
- {1666, "MDCLXVI"},
- {1e3 - 1, "CMXCIX"},
- {2e3 - 1, "MCMXCIX"},
- {4e3 - 1, "MMMCMXCIX"},
{3888, "MMMDCCCLXXXVIII"},
+ {3999, "MMMCMXCIX"},
}
for _, tc := range testCases {
t.Run(tc.s, func(t *testing.T) {