Example #1
0
        public void Result_extend_an_array_with_x_values()
        {
            List <int> array = new List <int> {
                1, 2, 3
            };

            List <int> expectedArray = new List <int> {
                1, 2, 3, 4
            };

            List <int> actual = arraySorter.extendAnArray(array);

            CollectionAssert.AreEqual(expectedArray, actual);
        }