---
name: "zt_test_case_func"
section: "3"
platform: "linux"
package: "libzt-doc"
version: "0.3.1-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/zt_test_case_func"
---

# zt\_test\_case\_func(3)

type of pointer to a test case function

## 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_test/3.md), [zt\_visit\_test\_case(3)](/zt_visit_test_case/3.md), zt\_visit\_test\_suite(3)

## HISTORY

**zt\_test\_case\_func** first appeared in libzt 0.1

## AUTHORS

Zygmunt Krynicki ⟨*me@zygoon.pl*⟩
