public void TestNextProbablePrime()
        {
            IBigInteger firstPrime = BigInteger.ProbablePrime(32, _random);
            IBigInteger nextPrime  = firstPrime.NextProbablePrime();

            Assert.IsTrue(firstPrime.IsProbablePrime(10));
            Assert.IsTrue(nextPrime.IsProbablePrime(10));

            IBigInteger check = firstPrime.Add(one);

            while (check.CompareTo(nextPrime) < 0)
            {
                Assert.IsFalse(check.IsProbablePrime(10));
                check = check.Add(one);
            }
        }