// Ensure a bitmap can return a slice of values.
Ensure a bitmap can return a slice of values.
// Ensure a bitmap can return a slice of values .
func TestBitmap_Slice(t *testing.T) {
	if a := roaring.NewFileBitmap(1, 2, 3).Slice(); !reflect.DeepEqual(a, []uint64{1, 2, 3}) {
		t.Fatalf("unexpected slice: %+v", a)
	}
}
func TestBitmap_Slice ( t * testing . T ) { if a := roaring . NewFileBitmap ( 1 , 2 , 3 ) . Slice ( ) ; ! reflect . DeepEqual ( a , [ ] uint64 { 1 , 2 , 3 } ) { t . Fatalf ( " " , a ) } }
Ensure a bitmap can return a slice of values.
Ensure a bitmap can return a slice of values .