💾 Archived View for gmi.noulin.net › gitRepositories › blockFile › file › memTest.c.template.gmi captured on 2023-01-29 at 13:21:08. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
memTest.c.template (461B)
1 #include <stdlib.h> 2 #include <stdio.h> 3 #include <string.h> 4 5 #define ck_assert_str_eq(a,b) a;b; 6 #define ck_assert_str_ne(a,b) a;b; 7 #define ck_assert_ptr_eq(a,b) a;b; 8 #define ck_assert_ptr_ne(a,b) a;b; 9 #define ck_assert_uint_eq(a,b) a;b; 10 #define ck_assert_uint_ne(a,b) a;b; 11 #define ck_assert_int_eq(a,b) a;b; 12 #define ck_assert_int_ne(a,b) a;b; 13 #define ck_assert(a) a; 14 15 __tests 16 17 int main(int n, char**v) { 18 19 initLibsheepy(v[0]); 20 setLogMode(LOG_VERBOSE); 21 22 __calls 23 }