From e0f9c42b0fc2ccfcfa99e0024549c47d4b5de96e Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 28 Aug 2021 10:17:16 +0100 Subject: [PATCH] primegen.py: add a --probabilistic option. Not sure how I hadn't needed that before! Obviously, if I have a test program that can exercise all the prime generation systems, it should include _all_ of them. --- test/primegen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/primegen.py b/test/primegen.py index 6964099d..45b340f4 100755 --- a/test/primegen.py +++ b/test/primegen.py @@ -18,6 +18,8 @@ def main(): dest='policy', const='provable_fast') parser.add_argument("--complex", action='store_const', dest='policy', const='provable_maurer_complex') + parser.add_argument("--probabilistic", action='store_const', + dest='policy', const='probabilistic') parser.add_argument("-q", "--quiet", action='store_true') parser.add_argument("-b", "--binary", action='store_const', dest='fmt', const='{:b}')