(b *testing.B, f primalityTest)
| 31 | } |
| 32 | |
| 33 | func primalityTestBenchmarkHelper(b *testing.B, f primalityTest) { |
| 34 | for i := 0; i < b.N; i++ { |
| 35 | f(104729) |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | // Miller-Rabin Probabilistic test |
| 40 |
no outgoing calls
no test coverage detected