(b *testing.B)
| 17 | } |
| 18 | |
| 19 | func BenchmarkLinear(b *testing.B) { |
| 20 | testCase := generateBenchmarkTestCase() |
| 21 | b.ResetTimer() // exclude time taken to generate test case |
| 22 | for i := 0; i < b.N; i++ { |
| 23 | _, _ = Linear(testCase, i) |
| 24 | } |
| 25 | } |
nothing calls this directly
no test coverage detected