(b *testing.B)
| 70 | } |
| 71 | |
| 72 | func BenchmarkLowerBound(b *testing.B) { |
| 73 | testCase := generateBenchmarkTestCase() |
| 74 | b.ResetTimer() // this is important because the generateBenchmarkTestCase() is expensive |
| 75 | for i := 0; i < b.N; i++ { |
| 76 | _, _ = LowerBound(testCase, i) |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | func BenchmarkUpperBound(b *testing.B) { |
| 81 | testCase := generateBenchmarkTestCase() |
nothing calls this directly
no test coverage detected