public void GetGCDReturnsRightResults(int x, int y, int expected)
        {
            var modularExponentHelper = new ModularExponentHelper();
            var result = modularExponentHelper.GetGCD(x, y);

            Assert.Equal(expected, result);
        }
        public void GetExponentModNReturnsRightResults(int smallerNumber
                                                       , int exponent, int numberToFactor, int expected)
        {
            var modularExponentHelper = new ModularExponentHelper();
            var result = modularExponentHelper.GetExponentModN(smallerNumber, exponent, numberToFactor);

            Assert.Equal(expected, result);
        }
        public void FindPeriodReturnsRightResults(int smallNumber
                                                  , int numberToFactor
                                                  , int expectedPeriod)
        {
            var modularExponentHelper = new ModularExponentHelper();
            var result = modularExponentHelper.FindPeriod(smallNumber, numberToFactor, false);

            Assert.Equal(expectedPeriod, result);
        }