예제 #1
0
        public void Vna2950_Ipca0_5_TotalDias21_17DiasDesejados_DeveRetornar_Vna_2961_93480150027()
        {
            var ntnb   = new NTNB();
            var actual = ntnb.VNA(2950, 0.5, 21, 17);

            Assert.Equal(2961.93480150027M, actual);
        }
예제 #2
0
        public void Vna2950_Ipca0_39_TotalDias21_1DiaDesejado_DeveRetornar_Vna_2950_54684226885()
        {
            var ntnb   = new NTNB();
            var actual = ntnb.VNA(2950, 0.39, 21, 1);

            Assert.Equal(2950.54684226885M, actual);
        }