Example #1
0
        public void GivenArrayIsInitialized_WhenItContainsUnorderedIntElements_ThenItIsAscSorted(int[] given, int[] expected)
        {
            // Assert.
            var sut = new ArraySorter();
            // Act.
            var actual = sut.SortArrayAsc(given);

            // Assert.
            Assert.IsTrue(actual.SequenceEqual(expected));
        }