src/GenFx.Tests/CollectionExtensionsTest.cs
/// <summary>
/// Tests that items are added to the source collection.
/// </summary>
Tests that items are added to the source collection.
Tests that items are added to the source collection .
[Fact]
        public void CollectionExtensions_AddRange_ItemsAdded()
        {
            List<int> list = new List<int>
            {
                1, 2
            };
            CollectionExtensions.AddRange(list, new int[] { 3, 4 });
            Assert.Equal(4, list.Count);
            Assert.Equal(3, list[2]);
            Assert.Equal(4, list[3]);
        }
[ Fact ] public void CollectionExtensions_AddRange_ItemsAdded ( ) { List < int > list = new List < int > { 1 , 2 } ; CollectionExtensions . AddRange ( list , new int [ ] { 3 , 4 } ) ; Assert . Equal ( 4 , list . Count ) ; Assert . Equal ( 3 , list [ 2 ] ) ; Assert . Equal ( 4 , list [ 3 ] ) ; }
Tests that items are added to the source collection.
Tests that items are added to the source collection .