Ejemplo n.º 1
0
 public void Test_Sort()
 {
     int[] number   = { 2, 4, 54, 12, -65, 19, 40, 92, 88, 330, -4, 54 };
     int[] expected = { -65, -4, 2, 4, 12, 19, 40, 54, 56, 88, 92, 330 };
     Assert.Equal(expected, Program18.Sort(number));
 }
Ejemplo n.º 2
0
 public void Test_Sort()
 {
     Assert.Equal("-65, -4, 2, 4, 12, 19, 40, 54, 88, 92, 330", Program18.Sort(number));
 }