Add support for (inefficiently) getting uppercase return values

This commit is contained in:
2024-10-26 23:54:18 -04:00
parent afad2b7ee8
commit 63f3025096
3 changed files with 26 additions and 7 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ func BenchmarkFromInt(b *testing.B) {
func ExampleFromInt() {
roman := FromInt(4)
if roman == "OOB" {
panic("Input integer is out of bounds")
panic("Input integer is out of bounds (greater than 3,999,999)")
}
fmt.Println(roman == "IV") // True
fmt.Println(roman == "iv") // True
}