cmake_test/asserts/true_false

cmake_test/asserts/true_false.ct_assert_true(var)

Asserts that the provided variable is true. var must be a non-empty string, otherwise an ASSERTION_FAILED exception is raised.

Parameters:

var (str*) – The variable to check for truthiness.

cmake_test/asserts/true_false.ct_assert_false(var)

Asserts that the provided variable is false.

Parameters:

var (str*) – The variable to check for falseness.