예제 #1
0
        public void AudioSampleRate_Test1()
        {
            var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath);

            a.Execute();
            Assert.AreEqual(22050, a.AudioSampleRate);
        }
예제 #2
0
        public void Length_Test1()
        {
            var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath);

            a.Execute();
            Assert.AreEqual(208, a.Length);
        }
예제 #3
0
        public void IsVideo_Test1()
        {
            var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath);

            a.Execute();
            Assert.AreEqual(true, a.Video);
        }
예제 #4
0
        public void AspectRatio_Test1()
        {
            var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath);

            a.Execute();
            Assert.AreEqual(1.33333337f, a.AspectRatio);
        }
예제 #5
0
        public void AudioList_Test2()
        {
            var a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath);

            a.Execute();
            Assert.AreEqual(1, a.AudioList.Count);
        }
예제 #6
0
        public void VideoBitrate_Test2()
        {
            var a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath);

            a.Execute();
            Assert.AreEqual(330, a.VideoBitrate);
        }
예제 #7
0
        public void Height_Test1()
        {
            var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath);

            a.Execute();
            Assert.AreEqual(240, a.Height);
        }
예제 #8
0
 public void AspectRatio_Test1()
 {
     LibMPlayerCommon.Discover a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath);
     a.Execute();
     NUnit.Framework.Assert.AreEqual(1.33333337f, a.AspectRatio);
 }
예제 #9
0
 public void VideoBitrate_Test1()
 {
     LibMPlayerCommon.Discover a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath);
     a.Execute();
     NUnit.Framework.Assert.AreEqual(339, a.VideoBitrate);
 }
예제 #10
0
 public void Length_Test1()
 {
     LibMPlayerCommon.Discover a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath);
     a.Execute();
     NUnit.Framework.Assert.AreEqual(208, a.Length);
 }
예제 #11
0
 public void Length_Test2()
 {
     var a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath);
     a.Execute();
     Assert.AreEqual(255, a.Length);
 }
예제 #12
0
 public void AudioList_Test2()
 {
     LibMPlayerCommon.Discover a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath);
     a.Execute();
     NUnit.Framework.Assert.AreEqual(1, a.AudioList.Count);
 }
예제 #13
0
 public void Width_Test2()
 {
     LibMPlayerCommon.Discover a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath);
     a.Execute();
     NUnit.Framework.Assert.AreEqual(320, a.Width);
 }
예제 #14
0
 public void Height_Test1()
 {
     var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath);
     a.Execute();
     Assert.AreEqual(240, a.Height);
 }
예제 #15
0
 public void AudioSampleRate_Test2()
 {
     var a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath);
     a.Execute();
     Assert.AreEqual(22050, a.AudioSampleRate);
 }
예제 #16
0
 public void AudioBitrate_Test1()
 {
     var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath);
     a.Execute();
     Assert.AreEqual(8, a.AudioBitrate);
 }
예제 #17
0
 public void AspectRatio_Test2()
 {
     var a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath);
     a.Execute();
     Assert.AreEqual(1.33333337f, a.AspectRatio);
 }
예제 #18
0
 public void VideoBitrate_Test2()
 {
     var a = new LibMPlayerCommon.Discover(GlobalVariables.Video2Path, GlobalVariables.MplayerPath);
     a.Execute();
     Assert.AreEqual(330, a.VideoBitrate);
 }
예제 #19
0
 public void AudioSampleRate_Test1()
 {
     LibMPlayerCommon.Discover a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath);
     a.Execute();
     NUnit.Framework.Assert.AreEqual(22050, a.AudioSampleRate);
 }
예제 #20
0
 public void IsVideo_Test1()
 {
     var a = new LibMPlayerCommon.Discover(GlobalVariables.Video1Path, GlobalVariables.MplayerPath);
     a.Execute();
     Assert.AreEqual(true, a.Video);
 }