MCPcopy
hub / github.com/dropbox/godropbox / TestInsert

Method TestInsert

container/bitvector/bitvector_test.go:34–39  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

32}
33
34func (s *BitVectorSuite) TestInsert(c *C) {
35 for i := 0; i < 4; i++ {
36 s.vector.Insert(0, 8)
37 }
38 c.Assert(s.vector.Bytes(), DeepEquals, []byte{0xF0, 0xF0})
39}
40
41func (s *BitVectorSuite) TestAppend(c *C) {
42 for i := 0; i < 4; i++ {

Callers

nothing calls this directly

Calls 2

InsertMethod · 0.65
BytesMethod · 0.65

Tested by

no test coverage detected