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