mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Fix unit test
This commit is contained in:
parent
bdd826f650
commit
5c15d90641
1 changed files with 4 additions and 4 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue