Improve coverage of the test suite
This commit is contained in:
1 parent
a6993ab758
commit
352d7cf725
3 files changed
+25
-1
No files matched your search
@@ -277,6 +277,14 @@ static void test_mpz(void)
|
||||
assert(b);
|
||||
assert(strcmp(sp, "") == 0);
|
||||
assert(array_mpz_equal_p(array1, array2));
|
||||
|
||||
b = array_mpz_parse_str(array2, "[", &sp);
|
||||
assert(!b);
|
||||
b = array_mpz_parse_str(array2, "[17,", &sp);
|
||||
assert(!b);
|
||||
b = array_mpz_parse_str(array2, "[17,18", &sp);
|
||||
assert(!b);
|
||||
|
||||
// NOTE: Not the same order than list...
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user