diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-03-28 15:34:43 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-03-29 12:26:43 -0400 |
commit | ba2d4ac206ff1321ea953d3305d8bda048922983 (patch) | |
tree | 91c1ab573bb7efe5c273c1e1fd9cef4d8d966473 /tests | |
parent | 7888fbababd22190e9f919fc272957426a27969e (diff) | |
download | bfs-ba2d4ac206ff1321ea953d3305d8bda048922983.tar.xz |
trie: Use list.h for the list of leaves
Diffstat (limited to 'tests')
-rw-r--r-- | tests/trie.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/trie.c b/tests/trie.c index c2af18a..65660a9 100644 --- a/tests/trie.c +++ b/tests/trie.c @@ -74,8 +74,6 @@ int main(void) { size_t i = 0; TRIE_FOR_EACH(&trie, leaf) { assert(leaf == trie_find_str(&trie, keys[i])); - assert(!leaf->prev || leaf->prev->next == leaf); - assert(!leaf->next || leaf->next->prev == leaf); ++i; } assert(i == nkeys); |