add some simple tests

This commit is contained in:
Lucas Clemente 2016-04-16 23:50:06 +02:00
parent fd485dc50a
commit aa894a6df7
3 changed files with 26 additions and 1 deletions

View file

@ -6,7 +6,6 @@ import (
)
// ReadUintN reads N bytes
// ToDo: add tests
func ReadUintN(b io.ByteReader, length uint8) (uint64, error) {
var res uint64
for i := uint8(0); i < length; i++ {