public void AudioSampleRate_Test1() { var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath); a.Execute(); Assert.AreEqual(22050, a.AudioSampleRate); }
public void Length_Test1() { var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath); a.Execute(); Assert.AreEqual(208, a.Length); }
public void IsVideo_Test1() { var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath); a.Execute(); Assert.AreEqual(true, a.Video); }
public void AspectRatio_Test1() { var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath); a.Execute(); Assert.AreEqual(1.33333337f, a.AspectRatio); }
public void AudioList_Test2() { var a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath); a.Execute(); Assert.AreEqual(1, a.AudioList.Count); }
public void VideoBitrate_Test2() { var a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath); a.Execute(); Assert.AreEqual(330, a.VideoBitrate); }
public void Height_Test1() { var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath); a.Execute(); Assert.AreEqual(240, a.Height); }
public void AspectRatio_Test1() { LibMPlayerCommon.Discover a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath); a.Execute(); NUnit.Framework.Assert.AreEqual(1.33333337f, a.AspectRatio); }
public void VideoBitrate_Test1() { LibMPlayerCommon.Discover a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath); a.Execute(); NUnit.Framework.Assert.AreEqual(339, a.VideoBitrate); }
public void Length_Test1() { LibMPlayerCommon.Discover a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath); a.Execute(); NUnit.Framework.Assert.AreEqual(208, a.Length); }
public void Length_Test2() { var a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath); a.Execute(); Assert.AreEqual(255, a.Length); }
public void AudioList_Test2() { LibMPlayerCommon.Discover a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath); a.Execute(); NUnit.Framework.Assert.AreEqual(1, a.AudioList.Count); }
public void Width_Test2() { LibMPlayerCommon.Discover a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath); a.Execute(); NUnit.Framework.Assert.AreEqual(320, a.Width); }
public void AudioSampleRate_Test2() { var a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath); a.Execute(); Assert.AreEqual(22050, a.AudioSampleRate); }
public void AudioBitrate_Test1() { var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath); a.Execute(); Assert.AreEqual(8, a.AudioBitrate); }
public void AspectRatio_Test2() { var a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath); a.Execute(); Assert.AreEqual(1.33333337f, a.AspectRatio); }
public void AudioSampleRate_Test1() { LibMPlayerCommon.Discover a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath); a.Execute(); NUnit.Framework.Assert.AreEqual(22050, a.AudioSampleRate); }