Example #1
0
 public void SampleTest()
 {
     Assert.Equal("no one likes this", Kata.Likes(new string[0]));
     Assert.Equal("Peter likes this", Kata.Likes(new string[] { "Peter" }));
     Assert.Equal("Jacob and Alex like this", Kata.Likes(new string[] { "Jacob", "Alex" }));
     Assert.Equal("Max, John and Mark like this", Kata.Likes(new string[] { "Max", "John", "Mark" }));
     Assert.Equal("Alex, Jacob and 2 others like this", Kata.Likes(new string[] { "Alex", "Jacob", "Mark", "Max" }));
 }