Beispiel #1
0
        public int EuclideanAlgorithmTest(int numOne, int numTwo, int numThree, int numFour)
        {
            double elapsedTime;
            var    calculator = new AlgorithmGCD(numOne, numTwo, numThree, numFour);

            return(calculator.EuclideanAlgorithm(numOne, numTwo, numThree, numFour, out elapsedTime));
        }
Beispiel #2
0
        public int EuclideanAlgorithm_ForTwoNumb_Test(int numOne, int numTwo)
        {
            double elapsedTime;
            var    calculator = new AlgorithmGCD(numOne, numTwo);

            return(calculator.EuclideanAlgorithm(numOne, numTwo, out elapsedTime));
        }