private static bool ExecuteSolovayStrassen(BigInteger p, int iterations) { return(SolovayStrassenAlgorithm.Execute(p, iterations)); }
public void Execute(string number, int iterations, bool expectedResult) { var result = SolovayStrassenAlgorithm.Execute(BigInteger.Parse(number), iterations); Assert.Equal(expectedResult, result); }