From 12796045954eedf816432a8fbfb1f5d818efc49b Mon Sep 17 00:00:00 2001 From: J08nY Date: Sun, 17 Dec 2017 23:10:10 +0100 Subject: Do not skip Brainpool RFC tests. --- src/exhaustive/brainpool.c | 2 +- test/src/exhaustive/test_brainpool_rfc.c | 1 - test/src/test/default.c | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/exhaustive/brainpool.c b/src/exhaustive/brainpool.c index fdabd6f..99d8fb8 100644 --- a/src/exhaustive/brainpool.c +++ b/src/exhaustive/brainpool.c @@ -111,7 +111,7 @@ GENERATOR(brainpool_gen_field) { GEN p = c; pari_sp bbtop = avma; do { - if (p != c) {//yes, check ptr identity here + if (p != c) { // yes, check ptr identity here avma = bbtop; } p = nextprime(addii(p, gen_1)); diff --git a/test/src/exhaustive/test_brainpool_rfc.c b/test/src/exhaustive/test_brainpool_rfc.c index 4fc710f..f2c38be 100644 --- a/test/src/exhaustive/test_brainpool_rfc.c +++ b/test/src/exhaustive/test_brainpool_rfc.c @@ -162,7 +162,6 @@ ParameterizedTestParameters(brainpool_rfc, test_brainpool_rfc_params) { } ParameterizedTest(struct rfc_params *param, brainpool_rfc, test_brainpool_rfc_params) { - cr_skip(); cfg->bits = param->bits; cfg->field = FIELD_PRIME; diff --git a/test/src/test/default.c b/test/src/test/default.c index 5a30e79..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, 4000000); // 200MB memory, 4M primes + pari_init(200000000, 1000000); // 200MB memory, 1M primes // set_mem_funcs(cr_malloc, cr_simple_calloc, cr_realloc, cr_free); } -- cgit v1.2.3-70-g09d2