diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2025-02-13 12:57:19 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2025-02-13 13:00:34 -0500 |
commit | d34d25c9546ce406afef2c561663db422045f05a (patch) | |
tree | 8862bb0af477566876ad26a7452ca8cc95d9d6e4 /tests | |
parent | 85747829e77f3967ef2d5b64c98dbc42be425786 (diff) | |
download | bfs-d34d25c9546ce406afef2c561663db422045f05a.tar.xz |
trie: Make nibble indices big-endian
Otherwise the order doesn't match lexicographical order on bytes.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/trie.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/trie.c b/tests/trie.c index 6e6024a..59bde40 100644 --- a/tests/trie.c +++ b/tests/trie.c @@ -39,6 +39,10 @@ static const char *keys[] = { ">>>>>>", ">>><<<", ">>>", + + "AAAAAAA", + "AAAAAAAB", + "AAAAAAAa", }; static const size_t nkeys = countof(keys); |