Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ BenchmarkRomanToInt
Function
BenchmarkRomanToInt
conversion/romantoint_test.go:48–53 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
46
}
47
48
func
BenchmarkRomanToInt(b *testing.B) {
49
b.ReportAllocs()
50
for
i := 0; i < b.N; i++ {
51
_, _ = RomanToInt(
"MMMCMXCIX"
)
52
}
53
}
Callers
nothing calls this directly
Calls
1
RomanToInt
Function · 0.85
Tested by
no test coverage detected