public void DeductionForFullExemptDonationShouldBeSameAsTheDonationMade() { DonationUnder80G donation = new FullyExemptDonation(50000); Assert.AreEqual(50000, donation.GetDeduction(), 0.001); }
public void DeductionForAFullExemptDonationUnder80GShouldbeZeroIfDonationIsZero() { DonationUnder80G donation = new FullyExemptDonation(0); Assert.AreEqual(0, donation.GetDeduction(), 0.001); }