Example #1
0
 public void Test4()
 {
     Assert.AreEqual("1 2 200 4 4 6 6 7 7 18 27 72 81 9 91 425 31064 7920 964 67407", WeightSort.orderWeight("1 200 2 4 4 6 6 7 7 27 72 18 81 9 91 425 31064 7920 67407 964"));
 }
Example #2
0
 public void Test2()
 {
     Assert.AreEqual("11 11 2000 10003 22 123 1234000 44444444 9999", WeightSort.orderWeight("2000 10003 1234000 44444444 9999 11 11 22 123"));
 }
Example #3
0
 public void Test3()
 {
     Assert.AreEqual("18 180 1801 181", WeightSort.orderWeight("181 18 180 1801"));
 }
Example #4
0
 public void Test1()
 {
     Assert.AreEqual("2000 103 123 4444 99", WeightSort.orderWeight("103 123 4444 99 2000"));
 }