diff options
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/exhaustive/test_brainpool_rfc.c | 7 | ||||
| -rw-r--r-- | test/src/test/default.c | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/test/src/exhaustive/test_brainpool_rfc.c b/test/src/exhaustive/test_brainpool_rfc.c index 19008b4..63ed116 100644 --- a/test/src/exhaustive/test_brainpool_rfc.c +++ b/test/src/exhaustive/test_brainpool_rfc.c @@ -212,10 +212,13 @@ ParameterizedTest(struct rfc_params *param, brainpool_rfc, setup.validators = checks; setup.unrolls = unrolls; + // pari_sp top = avma; + // pari_ulong debug_before = DEBUGLEVEL; + // DEBUGLEVEL = 3; ret = exhaustive_gen(&curve, &setup, OFFSET_A, OFFSET_GENERATORS); + // DEBUGLEVEL = debug_before; + // dbg_gerepile(top); - pari_printf("expected a = %P#x\n", lift(a)); - pari_printf("real a = %P#x\n", lift(curve.a)); cr_assert_not_null(curve.a, ); cr_assert_not_null(curve.b, ); cr_assert_eq(ret, 1, ); diff --git a/test/src/test/default.c b/test/src/test/default.c index 52cd895..27f9525 100644 --- a/test/src/test/default.c +++ b/test/src/test/default.c @@ -9,7 +9,7 @@ void default_setup(void) { memset(cfg, 0, sizeof(config_t)); - pari_init(200000000, 1000000); + pari_init(200000000, 1000000); // 200MB memory, 1M primes // set_mem_funcs(cr_malloc, cr_simple_calloc, cr_realloc, cr_free); } |
