Пример #1
0
 public bool Is_prime_Test_Already_Calculated(int num)
 {
     var calculator = new Calculator();
     calculator.IsPrime(num + 1);
     return calculator.IsPrime(num);
 }
Пример #2
0
 public bool Is_prime_Test_Partly_Calculated(int num, int firstCall)
 {
     var calculator = new Calculator();
     calculator.IsPrime(firstCall);
     return calculator.IsPrime(num);
 }
Пример #3
0
 public bool Is_prime_Test(int num)
 {
     var calculator = new Calculator();
     return calculator.IsPrime(num);
 }