예제 #1
0
 private static bool ExecuteSolovayStrassen(BigInteger p, int iterations)
 {
     return(SolovayStrassenAlgorithm.Execute(p, iterations));
 }
예제 #2
0
        public void Execute(string number, int iterations, bool expectedResult)
        {
            var result = SolovayStrassenAlgorithm.Execute(BigInteger.Parse(number), iterations);

            Assert.Equal(expectedResult, result);
        }