summaryrefslogtreecommitdiffstats
path: root/tests/trie.c
Commit message (Collapse)AuthorAgeFilesLines
* tests/trie: Improve code coverageTavian Barnes2024-10-101-1/+4
|
* build: Move feature test macros to prelude.hTavian Barnes2024-08-281-2/+1
| | | | | | This replaces the explicit CPPFLAGS list in flags.mk with just `-include src/prelude.h`, shortening our compiler command lines and allowing them to be easily documented.
* prelude: Split bfs-specific utilities into new bfs.h headerTavian Barnes2024-08-281-1/+4
|
* tests: Simplify unit tests with a global variableTavian Barnes2024-07-071-25/+22
| | | | | It's a little awkward to thread the test result through manually; much easier to just make bfs_check() update a global variable.
* build: Add -Wmissing-variable-declarationsTavian Barnes2024-06-081-2/+2
|
* Rename config.h to prelude.hTavian Barnes2024-04-191-1/+1
|
* tests: Add ../src to the include pathTavian Barnes2024-04-191-3/+3
|
* tests: New bfs_check() macroTavian Barnes2024-02-291-22/+24
| | | | | We now report failures and continue, rather than aborting after the first failure.
* tests: Merge unit test executables into oneTavian Barnes2024-01-121-2/+3
|
* Formatting fixesTavian Barnes2023-09-271-2/+2
|
* Use the new list macrosTavian Barnes2023-09-251-2/+2
|
* Switch from assert() to bfs_assert()/bfs_verify()Tavian Barnes2023-05-181-29/+27
|
* config: s/BFS_COUNTOF/countof/Tavian Barnes2023-05-101-1/+1
|
* list: Use macros instead of type-erased listsTavian Barnes2023-03-311-0/+2
|
* trie: Use list.h for the list of leavesTavian Barnes2023-03-291-2/+0
|
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-251-15/+2
| | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
* config: New BFS_COUNTOF macroTavian Barnes2022-12-071-1/+2
|
* trie: Make leaves into a linked listTavian Barnes2022-10-291-0/+15
|
* Source / Include Folder (#88)トトも2022-04-161-1/+1
| | | Moved Source Files Into `src` Folder
* tests: Add missing license headersTavian Barnes2022-01-181-0/+16
|
* tests/trie: Fix "handling" typoTavian Barnes2022-01-181-1/+1
|
* Include what I useTavian Barnes2020-11-121-1/+0
| | | | Thanks to https://github.com/include-what-you-use/include-what-you-use
* tests/trie: New acceptance test for triesTavian Barnes2020-06-091-0/+118