Пример #1
0
        public void GCDTest()
        {
            for (int a = 0; a < 100; a++)
            {
                for (int b = 0; b < 100; b++)
                {
                    int expected = EuclidGCDTests.CalculateGCD(a, b);
                    int actual   = EuclidGCD.Run(a, b);

                    Assert.AreEqual(expected, actual);
                }
            }
        }