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

Method TestSet

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

Source from the content-addressed store, hash-verified

50}
51
52func (s *BitVectorSuite) TestSet(c *C) {
53 for i := 4; i < 8; i++ {
54 if i%2 == 0 {
55 s.vector.Set(0, i)
56 }
57 }
58 c.Assert(s.vector.Bytes(), DeepEquals, []byte{0xA0, 0x0F})
59}
60
61func (s *BitVectorSuite) TestSetOneBit(c *C) {
62 for i := 4; i < 8; i++ {

Callers

nothing calls this directly

Calls 2

SetMethod · 0.65
BytesMethod · 0.65

Tested by

no test coverage detected