DOKK / manpages / debian 12 / libzt-doc / zt_test_case_func.3.en
zt_test_case_func(3) Library Functions Manual (prm) zt_test_case_func(3)

zt_test_case_functype of pointer to a test case function

typedef void
(*zt_test_case_func)(zt_t);

zt_test_case_func is a pointer to a function implementing a single test case.

The zt_test pointer (aka zt_t) argument is meant to be passed to zt_check() and zt_assert() to alter the outcome of the test.

zt_test(3), zt_visit_test_case(3), zt_visit_test_suite(3)

zt_test_case_func first appeared in libzt 0.1

Zygmunt Krynicki <me@zygoon.pl>

January 12, 2020 libzt 0.3.1