Пример #1
0
        public void NaiveTest()
        {
            const int a = 816;
            const int b = 2260;

            var result = GCD.EuclidNaive(a, b);

            const long expectedResult = 4;

            Assert.IsTrue(result == expectedResult, "Euclidean naive algorithm has incorrect result");
        }