mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
improve coverage
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user