Beispiel #1
0
        public void TesteCSOSN201_202_203()
        {
            IIcms icms202 = new Icms201_202_203(0, 0, 0, 0, 0, 0, 0, 0, 0);

            Assert.AreEqual(13900, icms202.BaseIcmsST());
            Assert.AreEqual(1350, icms202.ValorIcmsST());
        }
Beispiel #2
0
        public void TesteCSOSN201_202_203()
        {
            IIcms icms202 = new Icms201_202_203(12, 18, 400, 1565, 35, 39, 8000, 0);

            Assert.AreEqual(13900, icms202.BaseIcmsST());
            Assert.AreEqual(1350, icms202.ValorIcmsST());
        }
Beispiel #3
0
        private static void BaseValorST_201_202_203()
        {
            IIcms icms202 = new Icms201_202_203(12, 18, 400, 1565, 35, 39, 8000, 0);

            //   icms202.ValorIcms() lanca Exception;
            decimal baseSt  = icms202.BaseIcmsST();
            decimal valorSt = icms202.ValorIcmsST();

            Console.WriteLine($"Base ST: {baseSt.ToString("N2")}");
            Console.WriteLine($"Valor ST: {valorSt.ToString("N2")}");

            Console.ReadKey();
        }