Tests.when_swapping_list_values.then_list_size_does_not_change C# (CSharp) Method

then_list_size_does_not_change() private method

private then_list_size_does_not_change ( ) : void
return void
        public void then_list_size_does_not_change()
        {
            var list = new List<int> { 1, 3, 2 };
            list.SwapValues(1, 2);
            Assert.AreEqual(3, list.Count);
        }