cmake_test/asserts/equal
- cmake_test/asserts/equal.ct_assert_equal(var contents)
Asserts that an identifier contains the specified contents.
This function is used to assert that a given pointer is set to the specified contents. If the pointer does not dereference to the specified contents, an
ASSERTION_FAILED
exception is raised.- Parameters:
var (str*) – The identifier whose contents are in question.
contents (str) – What the pointer should dereference to
- cmake_test/asserts/equal.ct_assert_not_equal(var contents)
Asserts that an identifier does not contain the specified contents.
This function is used to assert that a given identifier is set to something other than the specified contents. If the pointer does dereference to the specified contents, then an
ASSERTION_FAILED
exception will be raised.- Parameters:
var (str*) – The identifier whose contents are in question.
contents (str) – What the pointer should not dereference to