@Test public void testOneStudentTaxDeductionIs300(){ assertEquals("The $300 student discount was not applied", 2000, tax.applyStudentDeduction(2300, 1), 0); }
public double applyStudentDeduction(double taxAmount, int numOfStudents){ return taxAmount - STUDENT_DEDUCTION*numOfStudents; }
Tax implements Taxable { public double applyStudentDeduction(double taxAmount, int numOfStudents){ return taxAmount - STUDENT_DEDUCTION*numOfStudents; } }
Tax implements Taxable { public double applyStudentDeduction(double taxAmount, int numOfStudents){ return taxAmount - STUDENT_DEDUCTION*numOfStudents; }  }
Tax implements Taxable { public double applyStudentDeduction(double taxAmount, int numOfStudents){ return taxAmount - STUDENT_DEDUCTION*numOfStudents; }  double calcTax(double grossIncome, int dependents); double applyStudentDeduction(double taxAmount, 
    		                                int numOfStudents); }
Tax implements Taxable { public double applyStudentDeduction(double taxAmount, int numOfStudents){ return taxAmount - STUDENT_DEDUCTION*numOfStudents; }  double calcTax(double grossIncome, int dependents); double applyStudentDeduction(double taxAmount, 
    		                                int numOfStudents);  }