blob: d8adbb9c5b9d77f6d7c49303f9ff726b72de8681 (
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
27
28
29
30
31
32
33
34
|
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD
/**
* Unit tests.
*/
#ifndef BFS_TESTS_H
#define BFS_TESTS_H
#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);
/** I/O queue tests. */
bool check_ioq(void);
/** Trie tests. */
bool check_trie(void);
/** Time tests. */
bool check_xtime(void);
#endif // BFS_TESTS_H
|