Fakultas Ilmu Komputer UI

Commit fc7f0dd1 authored by saddamonpc's avatar saddamonpc
Browse files

Add setSchedule() test for TeachingAsisstant.java

parent ba35d03b
Pipeline #81177 passed with stage
in 1 minute and 8 seconds
......@@ -18,11 +18,8 @@ class TeachingAssistantTest {
@Test
void setSchedule() {
// Calendar testCalendar = new Calendar();
// Schedule testSchedule = new Schedule("Busy", "07:00", "21:00");
// testCalendar.addSchedule("saturday", new Schedule("Busy", "07:00", "21:00"));
// testTa.setSchedule("saturday", "Busy", "07:00", "21:00");
// assertEquals(testTa.getCalendar().getSaturday().size(), 1);
testTa.setSchedule("saturday", "Busy", "07:00", "21:00");
assertEquals(testTa.getCalendar().getSaturday().size(), 1);
}
@Test
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment