We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecde75c commit 79d3649Copy full SHA for 79d3649
1 file changed
tests/check_reduction.c
@@ -7,6 +7,7 @@
7
#include <stdint.h>
8
#include <stddef.h>
9
#include <stdlib.h>
10
+#include <math.h>
11
12
13
extern void *ctx;
@@ -18,7 +19,9 @@ void teardown(void);
18
19
/* Defines */
20
#define MAXERRPRINT 16
21
#define ga_assert_ok(e) ck_assert_int_eq(e, GA_NO_ERROR)
-
22
+#ifndef ck_assert_ptr_nonnull
23
+#define ck_assert_ptr_nonnull(p) ck_assert_msg((p), "Null Pointer!")
24
+#endif
25
26
27
0 commit comments