public bool Is_prime_Test_Partly_Calculated(int num, int firstCall) { var calculator = new Calculator(); calculator.IsPrime(firstCall); return calculator.IsPrime(num); }
public bool Is_prime_Test(int num) { var calculator = new Calculator(); return calculator.IsPrime(num); }
public bool Is_prime_Test_Already_Calculated(int num) { var calculator = new Calculator(); calculator.IsPrime(num + 1); return calculator.IsPrime(num); }
public ProblemSolver() { calculator_ = new Calculator(); }