roman: add more tests
This commit is contained in:
		@ -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) {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user