コード例 #1
0
        public void CheckImportRateFor2017Is5Percentage()
        {
            boTaxRateRef lboTaxRateRef  = new boTaxRateRef();
            decimal      ldecImportRate = lboTaxRateRef.iclcTaxRateRef.Where(x => x.tax_year == 2017).FirstOrDefault().imported_rate;

            Assert.AreEqual(ldecImportRate, 0.05m);
        }
コード例 #2
0
        public void CheckTaxRateRefFileCountIsNotChaged()
        {
            Collection <doTaxRateRef> lclcTaxRateRef = CreateTaxRateRefCollection();
            boTaxRateRef lboTaxRateRef = new boTaxRateRef();

            Assert.AreEqual(lclcTaxRateRef.Count, lboTaxRateRef.iclcTaxRateRef.Count);
        }