コード例 #1
0
        public void Income_10710000_Tax_3494400()
        {
            var taxHelper = new TaxHelper();
            var taxResult = taxHelper.GetTaxResult(10710000);

            Assert.AreEqual(3494400, taxResult);
        }
コード例 #2
0
        public void Income_5530000_Tax_1382400()
        {
            var taxHelper = new TaxHelper();
            var taxResult = taxHelper.GetTaxResult(5530000);

            Assert.AreEqual(1382400, taxResult);
        }
コード例 #3
0
        public void Income_2500000_Tax_373400()
        {
            var taxHelper = new TaxHelper();
            var taxResult = taxHelper.GetTaxResult(2500000);

            Assert.AreEqual(373400, taxResult);
        }
コード例 #4
0
        public void Income_1218000_Tax_109000()
        {
            var taxHelper = new TaxHelper();
            var taxResult = taxHelper.GetTaxResult(1218000);

            Assert.AreEqual(109000, taxResult);
        }
コード例 #5
0
        public void Income_540001_Tax_27000p12()
        {
            var taxHelper = new TaxHelper();
            var taxResult = taxHelper.GetTaxResult(540001);

            Assert.AreEqual(27000.12m, taxResult);
        }
コード例 #6
0
        public void Income_0_Tax_0()
        {
            var taxHelper = new TaxHelper();
            var taxResult = taxHelper.GetTaxResult(0);

            Assert.AreEqual(0, taxResult);
        }