(c *C)
| 51 | } |
| 52 | |
| 53 | func (s *BinarySuite) TestReadVariableWidthInt(c *C) { |
| 54 | buf := bytes.NewBuffer([]byte{129, 110}) |
| 55 | |
| 56 | i, err := ReadVariableWidthInt(buf) |
| 57 | c.Assert(err, IsNil) |
| 58 | c.Assert(i, Equals, int64(366)) |
| 59 | } |
| 60 | |
| 61 | func (s *BinarySuite) TestReadVariableWidthIntShort(c *C) { |
| 62 | buf := bytes.NewBuffer([]byte{19}) |
nothing calls this directly
no test coverage detected