http://mmgen-wallet.i2p/project/mmgen/mmgen-wallet/src/5676d7a3f9a41dfc755186e02dde946d04493f4c/test/gentest.py
EXAMPLE: gentest.py 2:3 1000 (compare output of 'keyconv' with secp256k1 library, 1000 rounds) """.format(pnm=g.proj_name,snum=rounds) } cmd_args = opts.init(opts_data,add_opts=['exact_output']) if not 1 <= len(cmd_args) <= 2: opts.usage() if len(cmd_args) == 2: try: rounds = int(cmd_args[1]) assert rounds > 0 except: die(1,"'rounds' must be a positive integer") try: a,b = cmd_args[0].split(':') a,b = int(a),int(b) for i in a,b: assert 1 <= i <= len(g.key_generators) assert a !