Exemple #1
0
        public void testGetIMP_minus50_12_nv_v_equals_11()
        {
            int actual = RussianIMPCalculator.GetIMP(-50, 12, false, true);

            Assert.Equal(11, actual);
        }
Exemple #2
0
        public void testGetIMP_420_18_nv_equals_10()
        {
            int actual = RussianIMPCalculator.GetIMP(420, 18, false, false);

            Assert.Equal(10, actual);
        }
Exemple #3
0
        public void testGetIMP_550_27_nv_equals_10()
        {
            int actual = RussianIMPCalculator.GetIMP(550, 27, false, false);

            Assert.Equal(4, actual);
        }
Exemple #4
0
        public void testGetIMP_170_24_v_equals_minus3()
        {
            int actual = RussianIMPCalculator.GetIMP(170, 24, true, false);

            Assert.Equal(-3, actual);
        }