Example #1
0
        public void Should_return_900_for_Health_Increase_when_Income_is_10_000_CZK()
        {
            IEnginesHistory <ITaxingEngine> engines = TaxingEnginesHistory.CreateEngines();

            ITaxingEngine engine = engines.ResolveEngine(testPeriod);

            bool testWithholdTaxing = true;

            decimal testIncome = 10000m;

            decimal resultValue = engine.WithholdTaxableHealth(testPeriod, testWithholdTaxing, testIncome);

            Assert.AreEqual(900m, resultValue);
        }