Test update to try and resolve failed tests

This commit is contained in:
Kerry Cao 2025-01-27 22:34:57 -05:00
parent 8e32d68877
commit 91a2ceaceb

View file

@ -7,17 +7,17 @@ namespace FFMpegCore.Test;
[TestClass]
public class DownloaderTests
{
[TestMethod]
public void GetSpecificVersionTest()
{
var binaries = FFMpegDownloader.DownloadFFMpegSuite(FFMpegVersions.V6_1).Result;
Assert.IsTrue(binaries.Count == 1);
}
[TestMethod]
public void GetAllLatestSuiteTest()
{
var binaries = FFMpegDownloader.DownloadFFMpegSuite().Result;
Assert.IsTrue(binaries.Count == 2); // many platforms have only ffmpeg and ffprobe
}
[TestMethod]
public void GetSpecificVersionTest()
{
var binaries = FFMpegDownloader.DownloadFFMpegSuite(FFMpegVersions.V4_0, binaries: FFMpegBinaries.FFMpeg).Result;
Assert.IsTrue(binaries.Count == 1);
}
}