MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / BenchmarkTestMinInt

Function BenchmarkTestMinInt

math/min/min_test.go:52–56  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

50}
51
52func BenchmarkTestMinInt(b *testing.B) {
53 for i := 0; i < b.N; i++ {
54 Int(0, 10, 9, 7, 2, 1, 4, 3, 5, 6)
55 }
56}
57
58func BenchmarkTestBitwiseMin(b *testing.B) {
59 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 1

IntFunction · 0.70

Tested by

no test coverage detected