libcproject
C static library easier to use than libc (C standard library).
assert.h
Go to the documentation of this file.
1 #ifndef __LIBCPROJECT_ASSERT__
2 #define __LIBCPROJECT_ASSERT__
3 
4 #include <assert.h>
5 #include <errno.h>
6 #include <stdbool.h>
7 #include <stdlib.h>
8 
9 #include "string.h"
10 #include "types.h"
11 
19 bool assert_string_equal(const string_t actual, const string_t expected);
20 
28 bool assert_string_not_equal(const string_t actual, const string_t expected);
29 
30 #endif
bool assert_string_equal(const string_t actual, const string_t expected)
Check if the two strings are equal. If they are not equal, print the expected and actual strings.
bool assert_string_not_equal(const string_t actual, const string_t expected)
Check if the two strings are not equal. If they are equal, print the expected and actual strings.
char * string_t
Definition: types.h:8