Esempio n. 1
0
 public void ExampleTests()
 {
     Assert.AreEqual(new [] { "I", "To", "Beg", "Life" }, Kata.SortByLength(new [] { "Beg", "Life", "I", "To" }));
     Assert.AreEqual(new [] { "", "Pizza", "Brains", "Moderately" }, Kata.SortByLength(new[] { "", "Moderately", "Brains", "Pizza" }));
     Assert.AreEqual(new [] { "Short", "Longer", "Longest" }, Kata.SortByLength(new[] { "Longer", "Longest", "Short" }));
 }