openfresh / gosrt

Go SRT library with the net package like API.
MIT License
66 stars 16 forks source link

Go test case for the SRT receiver component #11

Open ravi21588 opened 4 years ago

ravi21588 commented 4 years ago

Hi, We are working on using the gosrt component for receiving SRT packets.We would like to write test cases for the receiver component. Can you please guide us in writing unit test cases ? An example unit test for the sample example will be really helpful.

thmatuza commented 4 years ago

Isn't this enough? https://github.com/openfresh/gosrt/blob/master/examples/livetransmit/main.go

Could you tell me more detail about the unit test cases?