(b *testing.B)
| 538 | } |
| 539 | |
| 540 | func BenchmarkBitArrayToNums(b *testing.B) { |
| 541 | numItems := uint64(1000) |
| 542 | ba := newBitArray(numItems) |
| 543 | |
| 544 | for i := uint64(0); i < numItems; i++ { |
| 545 | ba.SetBit(i) |
| 546 | } |
| 547 | |
| 548 | b.ResetTimer() |
| 549 | for i := 0; i < b.N; i++ { |
| 550 | ba.ToNums() |
| 551 | } |
| 552 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…