mirror of https://bitbucket.org/ausocean/av.git
stream/mts/metaEncode_test.go: wrote function comments for tests
This commit is contained in:
parent
bb032778c6
commit
7a7be5580d
|
@ -42,6 +42,9 @@ const (
|
||||||
|
|
||||||
const fps = 25
|
const fps = 25
|
||||||
|
|
||||||
|
// TestMetaEncode1 checks that we can externally add a single metadata entry to
|
||||||
|
// the mts global Meta meta.Data struct and then successfully have the mts encoder
|
||||||
|
// write this to psi.
|
||||||
func TestMetaEncode1(t *testing.T) {
|
func TestMetaEncode1(t *testing.T) {
|
||||||
Meta = meta.New()
|
Meta = meta.New()
|
||||||
var b []byte
|
var b []byte
|
||||||
|
@ -68,6 +71,9 @@ func TestMetaEncode1(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TestMetaEncode2 checks that we can externally add two metadata entries to the
|
||||||
|
// Meta meta.Data global and then have the mts encoder successfully encode this
|
||||||
|
// into psi.
|
||||||
func TestMetaEncode2(t *testing.T) {
|
func TestMetaEncode2(t *testing.T) {
|
||||||
Meta = meta.New()
|
Meta = meta.New()
|
||||||
var b []byte
|
var b []byte
|
||||||
|
|
Loading…
Reference in New Issue