mirror of
https://github.com/flavioribeiro/donut.git
synced 2025-09-27 03:15:54 +08:00
17 lines
377 B
Go
17 lines
377 B
Go
package astiav
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestInputFormat(t *testing.T) {
|
|
formatName := "rawvideo"
|
|
inputFormat := FindInputFormat(formatName)
|
|
require.NotNil(t, inputFormat)
|
|
require.Equal(t, formatName, inputFormat.Name())
|
|
require.Equal(t, formatName, inputFormat.String())
|
|
require.Equal(t, "raw video", inputFormat.LongName())
|
|
}
|