public void CheckDOBCorrectTest() { StudentForm sForm = new StudentForm(); string DOB = "25/05/1991"; bool actual = sForm.CheckDOB(DOB); Assert.IsFalse(actual); }
public void CheckDOBIncorrectTest() { StudentForm sForm = new StudentForm(); string DOB = "25051991"; bool actual = sForm.CheckDOB(DOB); Assert.IsTrue(actual); }