コード例 #1
0
        public void TupleList_6_can_construct_easily()
        {
            // Arrange


            // Act
            // ReSharper disable once UseObjectOrCollectionInitializer
            var list = new TupleList <int, int, int, int, int, int>
            {
                { 1, 2, 3, 4, 5, 6 }
            };

            list.Add(1, 2, 3, 4, 5, 6);

            // Assert
            list.ShouldNotBeNull();
            list.Count.ShouldBe(2);
        }