(b *testing.B)
| 78 | } |
| 79 | |
| 80 | func BenchmarkUpperBound(b *testing.B) { |
| 81 | testCase := generateBenchmarkTestCase() |
| 82 | b.ResetTimer() // this is important because the generateBenchmarkTestCase() is expensive |
| 83 | for i := 0; i < b.N; i++ { |
| 84 | _, _ = UpperBound(testCase, i) |
| 85 | } |
| 86 | } |
nothing calls this directly
no test coverage detected