static void TestMain() { Console.OutputEncoding = Encoding.UTF8; Task4.RunExample(); //Task5.RunExample(); //Task6.RunExample(); //Task7.RunExample(); Console.ReadKey(); }
public void TestTask4Simple() { IReadOnlyCollection <Person> users = new List <Person> { new Person("Mark"), new Person("August"), new Person("Arthur"), new Person("Vasily"), new Person("Anton") }; string actual = Task4.Concat(users, ' '); string expected = "Vasily Anton"; Assert.NotNull(actual); Assert.Equal(expected, actual); }