コード例 #1
0
ファイル: TestTributacao.cs プロジェクト: testedepessoa/Teste
 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
ファイル: TestTributacao.cs プロジェクト: testedepessoa/Teste
 public void TestarCalculoICMSSemReducaoBaseMaiorQueTrinta()
 {
     TributacaoICMS tribucacao = new TributacaoICMS(100);
     tribucacao.CalculoSemReducaoBase(31m);
 }
コード例 #3
0
ファイル: TestTributacao.cs プロジェクト: testedepessoa/Teste
 public void TestarCalculoICMSSemReducaoBase()
 {
     TributacaoICMS tributacao = new TributacaoICMS(100);
     decimal aliquotaIcms = 18;
     Assert.AreEqual(18m, tributacao.CalculoSemReducaoBase(aliquotaIcms));
 }
コード例 #4
0
ファイル: TestTributacao.cs プロジェクト: testedepessoa/Teste
 public void TestarCalculoICMSReduzidoRetornoNaoNegativo()
 {
     TributacaoICMS tribucacao = new TributacaoICMS(100);
     tribucacao.CalculoValorReduzido(18,12);
 }
コード例 #5
0
ファイル: TestTributacao.cs プロジェクト: testedepessoa/Teste
 public void TestarCalculoICMSReduzido()
 {
     TributacaoICMS tribucacao = new TributacaoICMS(100);
     Assert.AreEqual(6m, tribucacao.CalculoValorReduzido(12m,18m));
 }