@Test public void testGetCoursesForDepartment() throws Exception { String[] deptartments = {"C S", "HIST", "MMBIO"}; for (String id : deptartments) { System.out.println(data.getCoursesForDepartment(id)); } }
@Test public void testGetAllDepartments() throws Exception { List<Department> departments = data.getAllDepartments(); for (Department dept : departments) { System.out.println(dept.toString()); } }
@Test public void testGetAllCourses() throws Exception { List<Course> courses = data.getAllCourses(); for (Course c : courses) { System.out.println(c.toString()); List<Section> sections = c.getSections(); for (Section s : sections) { System.out.println("\t\t" + s.toString()); } } }