Skip to content

Commit

Permalink
Sync branch to master and fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlengch committed Apr 3, 2024
1 parent 985b026 commit 5c1807f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/test/java/seedu/address/model/student/LessonTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,4 @@ public void equals() {
String differentLesson = "Science";
assertFalse(lesson.equals(new Lesson(differentLesson, validDate, validTime)));
}

@Test
public void getLessonStatusIsValid() {
Lesson lesson1 = new Lesson("Math|01-01-2023|09:00|0");
assertEquals(lesson1.getLessonStatus(), 0);

Lesson lesson2 = new Lesson("Math|01-01-2023|09:00|1");
assertEquals(lesson2.getLessonStatus(), 1);
}

@Test
public void toStringTest() {
Lesson lesson = new Lesson("Math|01-01-2023|09:00|0");
assertEquals(lesson.toString(), "Math 2023-01-01 09:00");
}
}

0 comments on commit 5c1807f

Please sign in to comment.