zt_test_case_func(3)

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

Section 3 libzt-doc bookworm source

Description

UNTITLED() LOCAL UNTITLED()

NAME

zt_test_case_func — type of pointer to a test case function

SYNOPSIS

typedef void

(*zt_test_case_func)(zt_t);

DESCRIPTION

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

IMPLEMENTATION NOTES

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.

SEE ALSO

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

HISTORY

zt_test_case_func first appeared in libzt 0.1

AUTHORS

Zygmunt Krynicki <me@zygoon.pl> libzt 0.3.1 January 12, 2020 zt_test_case_func(3)