GetAllowedExemption() 공개 메소드

public GetAllowedExemption ( ) : double
리턴 double
예제 #1
0
 public void ShouldCapHousingLoanInterestExemptionIfAbove1Point5Lac(double testAmount)
 {
     HousingLoanInterest housingLoanInterestAmount = new HousingLoanInterest(testAmount);
     Assert.AreEqual(150000, housingLoanInterestAmount.GetAllowedExemption());
 }
예제 #2
0
 public void ShouldCapHousingLoanInterestExemptionIfBelow1Point5Lac()
 {
     HousingLoanInterest housingLoanInterestAmount = new HousingLoanInterest(10000);
     Assert.AreEqual(10000, housingLoanInterestAmount.GetAllowedExemption());
 }
예제 #3
0
 private double GetHousingLoanInterestAmount()
 {
     return(HousingLoanInterest == null ? 0 : HousingLoanInterest.GetAllowedExemption());
 }