static void Main(string[] args) { TestCode3 newCode3 = new TestCode3(); bool testresult = newCode3.Add("test stub"); if (testresult == true) { Console.WriteLine("Test Case has Passed"); } else { Console.WriteLine("Test Case has Failed"); } }
public bool test() { code.Add("Testing the Third Test"); // test method is where all the testing gets done TestCode3 newTestCode3 = new TestCode3(); bool l = newTestCode3.Add("Testing......"); if (l == true) { return(true); } else { return(false); } }