summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-02-13 12:57:19 -0500
committerTavian Barnes <tavianator@tavianator.com>2025-02-13 13:00:34 -0500
commitd34d25c9546ce406afef2c561663db422045f05a (patch)
tree8862bb0af477566876ad26a7452ca8cc95d9d6e4 /tests
parent85747829e77f3967ef2d5b64c98dbc42be425786 (diff)
downloadbfs-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.c4
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);