Hi,
I coded an application and in the application I have this code:Can someone give me advise how to be more efficient.Code:public void testAtHighHealthRisk(HealthRiskCalculator calc) { System.out.println("\nTesting atHighHealthRisk"); // TODO: replace the following line with testing of calc.atHighHealthRisk( ) //System.out.println("no testing yet."); System.out.println(calc.atHighHealthRisk(26, 60)); } public void testAtMediumHealthRisk(HealthRiskCalculator calc) { System.out.println("\nTesting atMediumHealthRisk"); // TODO: replace the following line with testing of calc.atMediumHealthRisk( ) //System.out.println("no testing yet."); System.out.println(calc.atMediumHealthRisk(15,55)); } public void testOutputAllPatientInfo(HealthRiskCalculator calc) { System.out.println("\nTesting outputAllPatientInfo"); // TODO: after implementing outputAllPatientInfo: // comment out the next line and remove the comments from the following block of code //System.out.println("no testing yet.\n"); calc.outputAllPatientInfo(); }{
Thanks to anyone who helps.
Daisy


Reply With Quote
For more help, 


Bookmarks