InstaTax.Tests.ChapterSixDeductionTest.ShouldReturnEpfAsDeductionIfNoOtherInvestmentIsMade C# (CSharp) Метод

ShouldReturnEpfAsDeductionIfNoOtherInvestmentIsMade() приватный Метод

private ShouldReturnEpfAsDeductionIfNoOtherInvestmentIsMade ( ) : void
Результат void
        public void ShouldReturnEpfAsDeductionIfNoOtherInvestmentIsMade()
        {
            const int epfContribution = 100;
            var salary = new AnnualSalary {Epf = epfContribution};
            TaxStatement ts = new TaxStatement(salary, null) { Chapter6Investments = null };
            Assert.AreEqual(epfContribution, ts.GetChapter6Deductions(), 0.01);
        }