public void checkAddClien() { string[] client = new string[7]; client[0] = "225"; client[1] = "Petr"; client[2] = "*****@*****.**"; client[3] = "8932422-34"; client[4] = "11 may 1990"; client[5] = "VIP"; Clients form = new Clients(); Clients.dataClients.Rows.Add("1", "Petya", "*****@*****.**", "88-88", "12 may 1990", "VIP"); Clients.dataClients.Rows.Add("2", "Vasya", "12gmail.com", "66-66", "13 may 1990", "VIP"); Clients.dataClients.Rows.Add("3", "Egor", "*****@*****.**", "333-3", "14 may 1990", "VIP"); ClientTypeCol col = new ClientTypeCol(); ClientFactory fact = new ClientFactory(); int a = ClientFactory.count(); ClientFactory.AddClient(client); Assert.AreEqual(a + 1, ClientFactory.count()); }