(t *testing.T)
| 163 | } |
| 164 | |
| 165 | func TestAndSparseWithEmptySparse(t *testing.T) { |
| 166 | sba := newSparseBitArray() |
| 167 | other := newSparseBitArray() |
| 168 | |
| 169 | sba.SetBit(5) |
| 170 | |
| 171 | ba := andSparseWithSparseBitArray(sba, other) |
| 172 | |
| 173 | checkBit(t, ba, 0, false) |
| 174 | checkBit(t, ba, 5, false) |
| 175 | checkBit(t, ba, 100, false) |
| 176 | } |
| 177 | |
| 178 | func TestAndSparseWithEmptyDense(t *testing.T) { |
| 179 | sba := newSparseBitArray() |
nothing calls this directly
no test coverage detected
searching dependent graphs…