Пример #1
0
 public void CoprimeCorrectness()
 {
     for (int i = 2; i < 1000; i++)
     {
         for (int x = 2; x < 1000; x++)
         {
             Assert.AreEqual(i.GCD(x) == 1, p.areCoprime(i, x));
         }
     }
 }