libcproject
C static library easier to use than libc (C standard library).
assert.h File Reference
#include <assert.h>
#include <errno.h>
#include <stdbool.h>
#include <stdlib.h>
#include "string.h"
#include "types.h"
Include dependency graph for assert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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. More...
 
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. More...
 

Function Documentation

◆ assert_string_equal()

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.

Parameters
character
Returns
bool
Since
v5.0.0

◆ assert_string_not_equal()

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.

Parameters
character
Returns
bool
Since
v5.0.0