public void TestSelectFFmpegPathForWindows() { const string expected = "ffmpeg.exe"; IEnumerable <Model.FileInfo> files = GetWindowsPathMocks(); string path = FFmpegExecutablesHelper.SelectFFmpegPath(files); Assert.Equal(expected, path); }
public void TestSelectFFprobePathForLinux() { const string expected = "ffprobe"; IEnumerable <Model.FileInfo> files = GetLinuxPathMocks(); string path = FFmpegExecutablesHelper.SelectFFprobePath(files); Assert.Equal(expected, path); }