public void TestCloseOpen() { string dirName = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); string path = dirName + "/bensound-epic.mp3"; Mpg123 mpg123 = new Mpg123(); mpg123.Open(path); Assert.That(() => mpg123.Close(), Throws.Nothing); }
public void TestCloseNoOpen() { Mpg123 mpg123 = new Mpg123(); Assert.That(() => mpg123.Close(), Throws.Nothing); }