Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSnowfield committed Sep 9, 2021
1 parent 1407f24 commit 4ad4878
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Konata.CodecTest/PipelineTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void TestPipelineCopy()
File.Open("audio/konata_test.mp3.pcm",
FileMode.OpenOrCreate, FileAccess.Write)
};

// Start pipeline
if (!pipeline.Start().Result) Assert.Fail();
{
Expand Down
7 changes: 5 additions & 2 deletions Konata.CodecTest/ResampleTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.IO;
using System;
using System.IO;
using NUnit.Framework;
using Konata.Codec.Audio;
using Konata.Codec.Audio.Codecs;

namespace Konata.CodecTest
{
Expand Down Expand Up @@ -38,6 +38,9 @@ public void TestResample()
// Start pipeline
if (!pipeline.Start().Result) Assert.Fail();
{
// Print time
Console.WriteLine($"Time: {pipeline.GetAudioTime()}");

// Pass
Assert.Pass();
}
Expand Down

0 comments on commit 4ad4878

Please sign in to comment.