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

Function TestSetBitAtCapacity

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

Source from the content-addressed store, hash-verified

390}
391
392func TestSetBitAtCapacity(t *testing.T) {
393 ba := newBitArray(s * 2)
394 err := ba.SetBit(s * 2)
395 assert.Error(t, err)
396}
397
398func TestClearBitAtCapacity(t *testing.T) {
399 ba := newBitArray(s * 2)

Callers

nothing calls this directly

Calls 3

newBitArrayFunction · 0.85
SetBitMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…