MCPcopy Create free account
hub / github.com/facebook/time / TestBitWriterEmpty

Function TestBitWriterEmpty

rtcm/bits_test.go:101–105  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

99}
100
101func TestBitWriterEmpty(t *testing.T) {
102 w := NewBitWriter(0)
103 require.Equal(t, 0, w.Pos())
104 require.Empty(t, w.Bytes())
105}

Callers

nothing calls this directly

Calls 4

PosMethod · 0.95
BytesMethod · 0.95
NewBitWriterFunction · 0.85
EmptyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…