Hi,
one more failing test: bigger, smaller, bigger
func TestAnd_ConsecutiveAnd_DifferentBitmapSizes(t *testing.T) {
a, b, c := Bitmap{}, Bitmap{}, Bitmap{}
for i := uint32(0); i < 200; i += 2 {
a.Set(i)
}
for i := uint32(0); i < 100; i += 2 {
b.Set(i)
}
for i := uint32(0); i < 200; i += 2 {
c.Set(i)
}
a.And(b)
a.And(c)
for i := uint32(0); i < 200; i++ {
assert.Equal(t, a.Contains(i), b.Contains(i), "for "+strconv.Itoa(int(i)))
}
assert.Equal(t, 50, a.Count())
}
bitmap_test.go:380:
Error Trace: bitmap_test.go:380
Error: Not equal:
expected: true
actual : false
Test: TestAnd_DifferentBitmapSizes
Messages: for 128
bitmap_test.go:380:
Error Trace: bitmap_test.go:380
Error: Not equal:
expected: true
actual : false
Test: TestAnd_DifferentBitmapSizes
Messages: for 130
Hi, one more failing test: bigger, smaller, bigger