summaryrefslogtreecommitdiffstats
path: root/tests/tests.h
blob: 34c58b764d44f2cb9c50ac5b539e24cd38ad2f8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD

/**
 * Unit tests.
 */

#include "../src/config.h"

/** Unit test function type. */
typedef bool test_fn(void);

/** Memory allocation tests. */
bool check_alloc(void);

/** Standard library wrapper tests. */
bool check_bfstd(void);

/** Bit manipulation tests. */
bool check_bit(void);

/** Trie tests. */
bool check_trie(void);

/** Time tests. */
bool check_xtime(void);