Ejemplo n.º 1
0
        public void PlaylistSaveSingle()
        {
            var library = Library.Load();
            Playlist pl = new Playlist(library, "TestPlaylist 1");
            pl.Add(library.GetSongs());

            try
            {
                pl.Save();
            }
            catch
            {
                Assert.Fail();
            }
        }
Ejemplo n.º 2
0
        public void PlaylistSaveMany()
        {
            var library = Library.Load();
            Playlist pl = new Playlist(library, "TestPlaylist 2");

            for (int i = 0; i < 10; i++)
                pl.Add(library.GetSongs());

            try
            {
                pl.Save();
            }
            catch
            {
                Assert.Fail();
            }
        }