Exemple #1
0
        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);
        }
Exemple #2
0
        public void TestCloseNoOpen()
        {
            Mpg123 mpg123 = new Mpg123();

            Assert.That(() => mpg123.Close(), Throws.Nothing);
        }