Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
G4-SoftEng
Group4-SoftEng
Commits
fc7f0dd1
Commit
fc7f0dd1
authored
Jun 03, 2021
by
saddamonpc
Browse files
Add setSchedule() test for TeachingAsisstant.java
parent
ba35d03b
Pipeline
#81177
passed with stage
in 1 minute and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/test/java/softeng/g4/user/TeachingAssistantTest.java
View file @
fc7f0dd1
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment