private void assertExpectednessMultipleTAAE( AbstractStudyInterventionExpectedAE abstractStudyInterventionExpectedAE) { assertEquals("96.13", format(abstractStudyInterventionExpectedAE.getExpectednessFrequency())); assertEquals("21.87", format(abstractStudyInterventionExpectedAE.getGrade1Frequency())); assertEquals("68.50", format(abstractStudyInterventionExpectedAE.getGrade2Frequency())); assertEquals("9.54", format(abstractStudyInterventionExpectedAE.getGrade3Frequency())); assertEquals("79.59", format(abstractStudyInterventionExpectedAE.getGrade4Frequency())); assertEquals("44.56", format(abstractStudyInterventionExpectedAE.getGrade5Frequency())); assertTrue(abstractStudyInterventionExpectedAE.isExpected()); }
private void assertExpectednessUpdatedTAAE( AbstractStudyInterventionExpectedAE abstractStudyInterventionExpectedAE) { assertEquals("84.00", format(abstractStudyInterventionExpectedAE.getExpectednessFrequency())); assertEquals("36.00", format(abstractStudyInterventionExpectedAE.getGrade1Frequency())); assertEquals("19.00", format(abstractStudyInterventionExpectedAE.getGrade2Frequency())); assertEquals("8.49", format(abstractStudyInterventionExpectedAE.getGrade3Frequency())); assertEquals("12.07", format(abstractStudyInterventionExpectedAE.getGrade4Frequency())); assertEquals("68.64", format(abstractStudyInterventionExpectedAE.getGrade5Frequency())); assertFalse(abstractStudyInterventionExpectedAE.isExpected()); }
private void assertExpectednessSingleTAAE( AbstractStudyInterventionExpectedAE abstractStudyInterventionExpectedAE) { assertEquals("60.00", format(abstractStudyInterventionExpectedAE.getExpectednessFrequency())); assertEquals("20.00", format(abstractStudyInterventionExpectedAE.getGrade1Frequency())); assertEquals("10.00", format(abstractStudyInterventionExpectedAE.getGrade2Frequency())); assertEquals("4.34", format(abstractStudyInterventionExpectedAE.getGrade3Frequency())); assertEquals("6.23", format(abstractStudyInterventionExpectedAE.getGrade4Frequency())); assertEquals("44.00", format(abstractStudyInterventionExpectedAE.getGrade5Frequency())); assertFalse(abstractStudyInterventionExpectedAE.isExpected()); }