public void Probe_Success() { var output = new FFProbe(); var info = output.ParseVideoInfo(VideoLibrary.LocalVideo.FullName); Assert.AreEqual(13, info.Duration.Seconds); }
public void Probe_TooLongOutput() { var output = new FFProbe(5); Assert.ThrowsException <JsonSerializationException>(() => { output.ParseVideoInfo(VideoLibrary.LocalVideo.FullName); }); }