Beispiel #1
0
 public void Mp3ToPcmTest()
 {
     
     var testAon = new Aon();
     var result = testAon.Mp3ToPcm(fileName);
     Assert.IsNotNull(result, "MP3 to PCM result is null");
     Assert.AreNotEqual(result.Data.Length, 0, "PCM size is empty");
 }
Beispiel #2
0
 public void RecognizePhoneNumberTest()
 {
     var testAon = new Aon();
     var data = testAon.Mp3ToPcm(fileName);
     var result = testAon.RecognizePhoneNumber(data.SampleRate, data.Data);
 }