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, 6 insertions, 0 deletions
diff --git a/roman_test.go b/roman_test.go
index a61436e..ff4afe9 100644
--- a/roman_test.go
+++ b/roman_test.go
@@ -25,3 +25,9 @@ func TestRoman(t *testing.T) {
})
}
}
+
+func BenchmarkRoman(b *testing.B) {
+ for i := 0; i < b.N; i++ {
+ Roman(1666).String()
+ }
+}