Ejemplo n.º 1
0
        public void GetCurrentTrackIndex()
        {
            _audioPlaylist.StartPlaylistPlayback();

            _audioPlaylist.StopPlaylistPlayback();

            var currentIndex          = _audioPlaylist.GetCurrentTrackIndex();
            var currentIndexIsCorrect = currentIndex == 0;

            Assert.True(currentIndexIsCorrect, "Audio playlist reported an incorrect current track index");
        }