zt_test_case_func(3)

zt_test_case_func3

Type of pointer to a test case function

Usage

typedef void

(*zt_test_case_func)(zt_t);

Overview

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.

Releases

Unchanged in 3 releases since Debian 11 (Bullseye).

  1. 11–13

History

zt_test_case_func first appeared in libzt 0.1

Authors

Zygmunt Krynicki ⟨[email protected]⟩

From libzt-doc 0.3.1-4 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.