use of ca.dal.cs.softeng.database.Course in project CSCI3130 by T-Caines.
the class CourseManagerTest method conflictingTestFalse.
@Test
public void conflictingTestFalse() {
dbAuth = FirebaseAuth.getInstance();
dbAuth.signInWithEmailAndPassword("test@test.ca", "password");
entry = courses.get(0);
entry.timeStart = 0100;
entry.timeEnd = 0200;
ApplicationData.term = Constants.Term.FALL;
cm.addCourse(entry);
Course entry2 = entry = courses.get(3);
entry2.timeStart = 2300;
entry2.timeEnd = 2330;
assertEquals(false, cm.isConflicting(entry2));
}
Aggregations