(t *testing.T)
| 438 | } |
| 439 | |
| 440 | func TestComplementResetsBounds(t *testing.T) { |
| 441 | ba := newBitArray(5) |
| 442 | |
| 443 | ba.complement() |
| 444 | assert.True(t, ba.anyset) |
| 445 | assert.Equal(t, uint64(0), ba.lowest) |
| 446 | assert.Equal(t, uint64(s-1), ba.highest) |
| 447 | } |
| 448 | |
| 449 | func TestBitArrayIntersectsSparse(t *testing.T) { |
| 450 | ba := newBitArray(s * 2) |
nothing calls this directly
no test coverage detected
searching dependent graphs…