Exemplo n.º 1
0
        public void bigSorting_Test()
        {
            var inputArray = new List <string>
            {
                "1",
                "2",
                "100",
                "12303479849857341718340192371",
                "3084193741082937",
                "3084193741082938",
                "111",
                "200"
            };

            var actual = BigSorting.bigSorting(inputArray.ToArray());

            var expected = new List <string>
            {
                "1",
                "2",
                "100",
                "111",
                "200",
                "3084193741082937",
                "3084193741082938",
                "12303479849857341718340192371"
            };

            Assert.Equal(expected, actual);
        }
Exemplo n.º 2
0
 public void TestBigSorting()
 {
     // https://www.hackerrank.com/challenges/big-sorting/problem
     var vg = BigSorting.bigSorting(new string[] {
         "1",
         "2",
         "100",
         "12303479849857341718340192371",
         "3084193741082937",
         "3084193741082938",
         "111",
         "200"
     });
 }