Exemple #1
0
        public void Jump_RemoveAllToEndAndInsertRange_ShouldEqual()
        {
            ISongQueue queue = new SongQueue();

            queue.Set(first);

            var expected = new[]
            {
                first[0],
                first[1],
                second[0],
                second[1],
                second[2],
                second[3],
                second[4],
            };

            _ = queue.Next;
            _ = queue.Next;
            queue.Replace(second);

            Song[] actual = queue.Content.ToArray();
            actual.Should().Equal(expected);
        }