MCPcopy Create free account
hub / github.com/brimdata/super / TestBitsGetBits

Function TestBitsGetBits

vector/bitvec/bits_test.go:9–11  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

7)
8
9func TestBitsGetBits(t *testing.T) {
10 assert.Equal(t, []uint64{0x0f}, New([]uint64{0xff}, 4).GetBits())
11}
12
13func TestBitsTrueCount(t *testing.T) {
14 assert.EqualValues(t, 0, Zero.TrueCount())

Callers

nothing calls this directly

Calls 3

GetBitsMethod · 0.80
NewFunction · 0.70
EqualMethod · 0.45

Tested by

no test coverage detected