Fix unit test

Former-commit-id: 5c15d90641
This commit is contained in:
Malte Rosenbjerg 2020-02-16 20:59:59 +01:00
parent 7426e1091a
commit 51d2a078c9

View file

@ -314,10 +314,10 @@ public void Video_Join_Image_Sequence()
public void Video_With_Only_Audio_Should_Extract_Metadata()
{
var video = VideoInfo.FromFileInfo(VideoLibrary.LocalVideoAudioOnly);
Assert.AreEqual(video.VideoFormat, "none");
Assert.AreEqual(video.AudioFormat, "aac");
Assert.AreEqual(video.Duration.TotalSeconds, 79);
Assert.AreEqual(video.Size, 1.25);
Assert.AreEqual("none", video.VideoFormat);
Assert.AreEqual("aac", video.AudioFormat);
Assert.AreEqual(79, (int)video.Duration.TotalSeconds);
Assert.AreEqual(1.25, video.Size);
}
[TestMethod]