WIP: computing coverage of the tests.
This commit is contained in:
1 parent
eb15fcc6c7
commit
2af4cb2fc2
9 files changed
+43
-17
No files matched your search
+5
-3
@@ -24,9 +24,6 @@
|
||||
#include <gmp.h>
|
||||
#include "m-array.h"
|
||||
|
||||
ARRAY_DEF(uint, unsigned int)
|
||||
#define ARRAY_UINT_OPLIST ARRAY_OPLIST(uint)
|
||||
|
||||
static void my_mpz_out_str(FILE *f, const mpz_t z)
|
||||
{
|
||||
mpz_out_str (f, 10, z);
|
||||
@@ -52,10 +49,15 @@ static void my_mpz_str(string_t str, const mpz_t z, bool append)
|
||||
free(s);
|
||||
}
|
||||
|
||||
START_COVERAGE
|
||||
ARRAY_DEF(uint, unsigned int)
|
||||
|
||||
ARRAY_DEF(mpz, mpz_t,
|
||||
(INIT(mpz_init), INIT_SET(mpz_init_set), SET(mpz_set), CLEAR(mpz_clear), \
|
||||
OUT_STR(my_mpz_out_str), IN_STR(my_mpz_in_str), EQUAL(my_mpz_equal_p), \
|
||||
GET_STR(my_mpz_str) ))
|
||||
END_COVERAGE
|
||||
#define ARRAY_UINT_OPLIST ARRAY_OPLIST(uint)
|
||||
|
||||
static void test_uint(void)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user