Skip to content

Commit af3700e

Browse files
committed
Update ModelManagerTest to reflect the test case where there is no one in a given group
1 parent 9951141 commit af3700e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/test/java/seedu/address/model/ModelManagerTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ public void findPersonsInGroup_returnsTrue() {
101101
assertTrue(modelManager.findPersonsInGroup(tableTennis).contains(BENSON));
102102
Group cs2106 = new Group("CS2106");
103103
assertTrue(modelManager.findPersonsInGroup(cs2106).contains(BENSON));
104+
Group random = new Group("sdddfs");
105+
assertTrue(modelManager.findPersonsInGroup(random).isEmpty());
104106
}
105107

106108
@Test

0 commit comments

Comments
 (0)