MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / TestNewBitArrayNeverCrashesOnNegatives

Function TestNewBitArrayNeverCrashesOnNegatives

libs/bits/bit_array_test.go:213–218  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

211}
212
213func TestNewBitArrayNeverCrashesOnNegatives(t *testing.T) {
214 bitList := []int{-127, -128, -1 << 31}
215 for _, bits := range bitList {
216 _ = NewBitArray(bits)
217 }
218}
219
220func TestJSONMarshalUnmarshal(t *testing.T) {
221

Callers

nothing calls this directly

Calls 1

NewBitArrayFunction · 0.85

Tested by

no test coverage detected