示例#1
0
        public void IntersectNoEqualityComparer_SortedListFirst_ReturnsSortedList()
        {
            var first = new SortedList<int, int> { { 2, 3 }, { 3, 5 } };
            var second = new Dictionary<int, int> { { 3, 2 }, { 4, 7 } };

            var actual = first.Intersect(second);
            Assert.IsInstanceOf<SortedList<int, int>>(actual);
        }