public void Miantain_view_Testfail() { Qualified_employees c = new Qualified_employees(); // create obj ad bool actual = c.main_view(""); //enter all right values in deletevalue method. bool expected = false; //returned bool value from method deltevalues method Assert.AreEqual(expected, actual, "You did something wrong"); // expected is true whereas actual is should match }
public void Maintenance_delete_Test() { Qualified_employees maintenance = new Qualified_employees(); // create obj maintenance bool actual = maintenance.deletemain_value("5"); //enter all right values in deletemain_value method. bool expected = true; //returned bool value from method deltemain_values method Assert.AreEqual(expected, actual, "You did something wrong"); // expected is true whereas actual is should match }
public void Maintain_searchvaluefor_Maintaincompany_Test() { Qualified_employees m = new Qualified_employees(); //declare obj m bool actual = m.search_value("Name of maintenance Company"); //enter all right values in search_value method. bool expected = true; //returned bool value from method search_value method Assert.AreEqual(expected, actual, "You did something wrong"); // expected is true whereas actual is should match }
public void Qualified_employees_save_Test() { Qualified_employees q = new Qualified_employees(); // create obj q bool actual = q.savevalue("5", "test", "test", "test", "test", "test"); //enter all right values in savevalue method. bool expected = true; //returned bool value from method savevalues method Assert.AreEqual(expected, actual, "You did something wrong"); // expected is true whereas actual is should match }