package ca.mokhan.test; import Q2.*; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; public class BonusOnSavingsTest extends TestCase { private BonusOnSavings subject; public BonusOnSavingsTest(String testName) { super(testName); this.subject = new BonusOnSavings(); } public static Test suite() { return new TestSuite(BonusOnSavingsTest.class); } public void testComputeBonusEmployeeOne() { assertEquals(1650.00, subject.computeBonus(2000, 5000, 7000, 4000, 8000)); } public void testComputeBonusEmployeeTwo() { assertEquals(4680.00, subject.computeBonus(3000, 6000, 9000, 10000, 17000)); } }