Пример #1
0
        public void EuclideanBinaryAlgorithmMethod_numberOneandnumberTwo_returned10(int expected, int numberOne, int numberTwo)
        {
            int    actual;
            string time;

            (actual, time) = FindGCD.EuclideanBinaryAlgorithmMethod(numberOne, numberTwo);

            Assert.AreEqual(expected, actual);
            Assert.Pass();
        }
Пример #2
0
        public void EuclideanBinaryAlgorithmMethod_3and10_1_GCD_Returned()
        {
            int expected = 1;

            int    actual;
            string time;

            (actual, time) = FindGCD.EuclideanBinaryAlgorithmMethod(3, 10);

            Assert.AreEqual(expected, actual);
        }