Man page - zt_test(3)
Packages contains this manual
- zt_pack_boolean(3)
- zt_claim(3)
- zt_location_at(3)
- zt_test(3)
- zt_test_suite_func(3)
- zt_pack_integer(3)
- zt_pack_nothing(3)
- zt_location(3)
- libzt(3)
- zt_test_case_func(3)
- zt_main(3)
- zt_pack_pointer(3)
- zt_value(3)
- zt_visit_test_case(3)
- zt_pack_string(3)
- zt_visitor(3)
- zt_check(3)
- zt_pack_unsigned(3)
- zt_pack_rune(3)
apt-get install libzt-doc
Manual
UNTITLED () LOCAL UNTITLED ()
NAME
zt_test, zt_t — private representation of test state
SYNOPSIS
struct zt_test
typedef struct zt_test *zt_t
DESCRIPTION
zt_test is an opaque type that holds test state during execution. The test type is passed as an argument to each test function. It is further passed to both zt_check () and zt_assert () functions, to alter test state.
zt_t is is a typedef that cuts the test case boilerplate size.
Internally zt_test stores the outcome of the test as well as data required for non-local exit, necessary when zt_assert () fails.
HISTORY
zt_test first appeared in libzt 0.1, zt_t first appeared in libzt 0.2.
AUTHORS
Zygmunt Krynicki < me@zygoon.pl > libzt 0.3.1 January 12, 2020 zt_test (3)