public void Enroll(string FName, string MName, string LName, string Course, Section section) { stud.FirstName = FName; stud.MiddleName = MName; stud.LastName = LName; stud.Course = Course; stud.Section = section; StudAccess.AddStudent(stud); }
public void AddStudent_ShouldWork() { Student newStud = new Student() { FirstName = "Arnold", MiddleName = "Villaruel", LastName = "Mendoza", Course = "BSIT", Section = section, Email = "*****@*****.**" }; studAccess.AddStudent(newStud); var actual = studAccess.StudentList; Assert.Contains(newStud, actual); }