Ejemplo n.º 1
0
 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");
 }
Ejemplo n.º 2
0
 public void TestarCalculoICMSSemReducaoBaseMaiorQueTrinta()
 {
     TributacaoICMS tribucacao = new TributacaoICMS(100);
     tribucacao.CalculoSemReducaoBase(31m);
 }
Ejemplo n.º 3
0
 public void TestarCalculoICMSSemReducaoBase()
 {
     TributacaoICMS tributacao = new TributacaoICMS(100);
     decimal aliquotaIcms = 18;
     Assert.AreEqual(18m, tributacao.CalculoSemReducaoBase(aliquotaIcms));
 }
Ejemplo n.º 4
0
 public void TestarCalculoICMSReduzidoRetornoNaoNegativo()
 {
     TributacaoICMS tribucacao = new TributacaoICMS(100);
     tribucacao.CalculoValorReduzido(18,12);
 }
Ejemplo n.º 5
0
 public void TestarCalculoICMSReduzido()
 {
     TributacaoICMS tribucacao = new TributacaoICMS(100);
     Assert.AreEqual(6m, tribucacao.CalculoValorReduzido(12m,18m));
 }