MCPcopy Create free account
hub / github.com/Workiva/go-datastructures / TestGetBitAtCapacity

Function TestGetBitAtCapacity

bitarray/bitarray_test.go:386–390  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

384}
385
386func TestGetBitAtCapacity(t *testing.T) {
387 ba := newBitArray(s * 2)
388 _, err := ba.GetBit(s * 2)
389 assert.Error(t, err)
390}
391
392func TestSetBitAtCapacity(t *testing.T) {
393 ba := newBitArray(s * 2)

Callers

nothing calls this directly

Calls 3

newBitArrayFunction · 0.85
GetBitMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…