(t *testing.T)
| 496 | } |
| 497 | |
| 498 | func TestCopyBitArray(t *testing.T) { |
| 499 | ba := newBitArray(10) |
| 500 | ba.SetBit(5) |
| 501 | ba.SetBit(1) |
| 502 | |
| 503 | result := ba.copy().(*bitArray) |
| 504 | assert.Equal(t, ba.anyset, result.anyset) |
| 505 | assert.Equal(t, ba.lowest, result.lowest) |
| 506 | assert.Equal(t, ba.highest, result.highest) |
| 507 | assert.Equal(t, ba.blocks, result.blocks) |
| 508 | } |
| 509 | |
| 510 | func BenchmarkDenseIntersectsCompressed(b *testing.B) { |
| 511 | numBits := uint64(162432) |
nothing calls this directly
no test coverage detected
searching dependent graphs…