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

Method TestSetOneBit

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

Source from the content-addressed store, hash-verified

59}
60
61func (s *BitVectorSuite) TestSetOneBit(c *C) {
62 for i := 4; i < 8; i++ {
63 if i%2 == 0 {
64 s.vector.Set(1, i)
65 }
66 }
67 c.Assert(s.vector.Bytes(), DeepEquals, []byte{0xF0, 0x0F})
68}
69
70func (s *BitVectorSuite) TestDelete(c *C) {
71 for i := 0; i < 4; i++ {

Callers

nothing calls this directly

Calls 2

SetMethod · 0.65
BytesMethod · 0.65

Tested by

no test coverage detected