Exemplo n.º 1
0
        public void InsertionSortResultsinSuccess()
        {
            int[] input          = new int[] { 54, 26, 93, 17, 77, 31, 44, 55, 20 };
            int[] expectedResult = new int[] { 17, 20, 26, 31, 44, 54, 55, 77, 93 };

            InsertionSortSolution.InsertionSort(input);

            Assert.Equal(input, expectedResult);
        }
Exemplo n.º 2
0
        public void InsertionSortCases(string input, string[] output)
        {
            // Arrange

            // Act
            var sut = new InsertionSortSolution(input);

            Assert.Fail();
            //Assert
            //CollectionAssert.AreEqual(sut.Output, output);
        }