Update VideoTest.cs

Former-commit-id: 3f61ac0104
This commit is contained in:
Malte Rosenbjerg 2020-02-16 21:00:50 +01:00
parent 51d2a078c9
commit 2c08a4a72b

View file

@ -316,7 +316,7 @@ public void Video_With_Only_Audio_Should_Extract_Metadata()
var video = VideoInfo.FromFileInfo(VideoLibrary.LocalVideoAudioOnly);
Assert.AreEqual("none", video.VideoFormat);
Assert.AreEqual("aac", video.AudioFormat);
Assert.AreEqual(79, (int)video.Duration.TotalSeconds);
Assert.AreEqual(79.0, video.Duration.TotalSeconds, 0.1);
Assert.AreEqual(1.25, video.Size);
}