// Ensure bitmap contents alternate.
Ensure bitmap contents alternate.
// Ensure bitmap contents alternate .
func TestBitmap_Flip_Empty(t *testing.T) {
	bm := roaring.NewFileBitmap()
	results := bm.Flip(0, 10)
	if n := results.Count(); n != 11 {
		t.Fatalf("unexpected n: %d", n)
	}
	results = results.Flip(0, 10)
	if n := results.Count(); n != 0 {
		t.Fatalf("unexpected n: %d", n)
	}
}
func TestBitmap_Flip_Empty ( t * testing . T ) { bm := roaring . NewFileBitmap ( ) results := bm . Flip ( 0 , 10 ) if n := results . Count ( ) ; n != 11 { t . Fatalf ( " " , n ) } results = results . Flip ( 0 , 10 ) if n := results . Count ( ) ; n != 0 { t . Fatalf ( " " , n ) } }
Ensure bitmap contents alternate.
Ensure bitmap contents alternate .