Esempio n. 1
0
        public void return_nth_element_value_which_is_divisible_by_a_given_number_at_nth_position(
            int divisor, int position, int expected)
        {
            var seriesX = new SeriesX();
            var result = seriesX.GetElementValue(new BigInteger(divisor), new BigInteger(position));

            Assert.AreEqual(new BigInteger(expected), result);
        }
Esempio n. 2
0
        public void return_nth_element_value_which_is_divisible_by_a_given_number_at_nth_position(
            int divisor, int position, int expected)
        {
            var seriesX = new SeriesX();
            var result  = seriesX.GetElementValue(new BigInteger(divisor), new BigInteger(position));

            Assert.AreEqual(new BigInteger(expected), result);
        }