improve coverage

This commit is contained in:
aler9
2021-05-22 17:18:09 +02:00
parent cd378ad0bf
commit 53e8f32bd0
11 changed files with 77 additions and 25 deletions

View File

@@ -58,6 +58,13 @@ func TestClose(t *testing.T) {
r.Close()
<-done
r.Reset()
r.Push([]byte{0x05, 0x06, 0x07, 0x08})
_, ok := r.Pull()
require.Equal(t, true, ok)
}
func BenchmarkPushPullContinuous(b *testing.B) {