diff --git a/iTrust/test/edu/ncsu/csc/itrust/unit/report/DemographicReportFilterTest.java b/iTrust/test/edu/ncsu/csc/itrust/unit/report/DemographicReportFilterTest.java index 0303c0cafafc3ab6fbc0a03d609ae4cbfbf568f6..42fbfcde61758b05cf323e2b300d7e6a5a3998a9 100644 --- a/iTrust/test/edu/ncsu/csc/itrust/unit/report/DemographicReportFilterTest.java +++ b/iTrust/test/edu/ncsu/csc/itrust/unit/report/DemographicReportFilterTest.java @@ -225,10 +225,11 @@ public class DemographicReportFilterTest extends TestCase { assertTrue(res.isEmpty()); } + //Updated assertEquals(24, res.size()) to assertEquals(27, res.size()) to reflect the 3 female patients added for UC20 public void testFilterByGender() throws Exception { filter = new DemographicReportFilter(DemographicReportFilterType.GENDER, "Female", factory); List<PatientBean> res = filter.filter(allPatients); - assertEquals(24, res.size()); + assertEquals(27, res.size()); assertTrue(res.get(0).getMID() == 1L); assertTrue(res.get(1).getMID() == 5L); assertTrue(res.get(2).getMID() == 6L);