remove a commented-out test case for a function that no longer exists

This commit is contained in:
Seebs 2022-09-23 16:05:30 -05:00 committed by Christopher Lowenthal
parent 9bdd397108
commit 740418bc2d

View file

@ -3887,29 +3887,6 @@ func newTestBitmapContainer() *Container {
return NewContainerBitmap(0, nil)
}
/*
// This function exercises an arcane edge case in dead code.
// It doesn't need to be run right now.
func TestEquals(t *testing.T) {
bma := NewBitmap()
bmr := NewBitmap()
for i := uint64(0); i < 30; i++ {
bma.Add(i)
bmr.Add(i)
}
bmr.Optimize()
bmi := bma.Intersect(bmr)
err := bitmapsEqual(bmi, bma)
if err != nil {
t.Fatalf("expected intersection to equal array")
}
err = bitmapsEqual(bmi, bmr)
if err != nil {
t.Fatalf("expected intersection to equal run")
}
}
*/
func TestShiftArray(t *testing.T) {
tests := []struct {
array []uint16