diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-01-12 12:01:07 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-01-12 12:01:07 -0500 |
commit | a9c9fc392bf2c3803251e5f63c944cd221a1ca67 (patch) | |
tree | f6074e70120eda712b96027835c9c799a561e4a4 /tests/trie.c | |
parent | 67eebd6fd514ede9e10cd4639b8d0cce690513f4 (diff) | |
download | bfs-a9c9fc392bf2c3803251e5f63c944cd221a1ca67.tar.xz |
tests: Merge unit test executables into one
Diffstat (limited to 'tests/trie.c')
-rw-r--r-- | tests/trie.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/trie.c b/tests/trie.c index 656fd85..f94d7c8 100644 --- a/tests/trie.c +++ b/tests/trie.c @@ -1,6 +1,7 @@ // Copyright © Tavian Barnes <tavianator@tavianator.com> // SPDX-License-Identifier: 0BSD +#include "tests.h" #include "../src/trie.h" #include "../src/config.h" #include "../src/diag.h" @@ -38,7 +39,7 @@ const char *keys[] = { const size_t nkeys = countof(keys); -int main(void) { +bool check_trie(void) { struct trie trie; trie_init(&trie); @@ -130,5 +131,5 @@ int main(void) { free(longstr); trie_destroy(&trie); - return EXIT_SUCCESS; + return true; } |