public void TestarCalculoICMSComReducaoBase() { TributacaoICMS objTributacao = new TributacaoICMS(100); decimal percreducaobaseicms = 20; decimal aliquotaIcms = 18; Assert.AreEqual(14.40m, objTributacao.CalculoComReducaoBase(percreducaobaseicms, aliquotaIcms), "Teste Falhou Calculo ICMS Com Reducao Base"); }
public void TestarCalculoICMSSemReducaoBaseMaiorQueTrinta() { TributacaoICMS tribucacao = new TributacaoICMS(100); tribucacao.CalculoSemReducaoBase(31m); }
public void TestarCalculoICMSSemReducaoBase() { TributacaoICMS tributacao = new TributacaoICMS(100); decimal aliquotaIcms = 18; Assert.AreEqual(18m, tributacao.CalculoSemReducaoBase(aliquotaIcms)); }
public void TestarCalculoICMSReduzidoRetornoNaoNegativo() { TributacaoICMS tribucacao = new TributacaoICMS(100); tribucacao.CalculoValorReduzido(18,12); }
public void TestarCalculoICMSReduzido() { TributacaoICMS tribucacao = new TributacaoICMS(100); Assert.AreEqual(6m, tribucacao.CalculoValorReduzido(12m,18m)); }