Added Classer + now logs returns a Classer + tests are now done in astiav package

This commit is contained in:
Quentin Renard
2024-02-28 18:05:36 +01:00
parent 7fe358fbfa
commit b5db8fb22f
51 changed files with 1177 additions and 808 deletions

View File

@@ -1,15 +1,14 @@
package astiav_test
package astiav
import (
"testing"
"github.com/asticode/go-astiav"
"github.com/stretchr/testify/require"
)
func TestInputFormat(t *testing.T) {
formatName := "rawvideo"
inputFormat := astiav.FindInputFormat(formatName)
inputFormat := FindInputFormat(formatName)
require.NotNil(t, inputFormat)
require.Equal(t, formatName, inputFormat.Name())
require.Equal(t, formatName, inputFormat.String())