Ubuntu Manpages

zt_test_case_func

type 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>