Add tests for Str8List utilities

This commit is contained in:
2025-02-15 20:29:50 +00:00
parent 68fe421ab0
commit d635e03cd8
5 changed files with 295 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#include "test_str8.h"
#include "test_str8_list.h"
#include "test_allocator.h"
#include "test_arena.h"
#include "test_cpath.h"
@@ -21,9 +22,17 @@ int main(void) {
test_str8_get_index_within_bounds,
test_str8_get_index_out_of_bounds,
test_str8_set,
test_str8_equal,
test_str8_substr,
test_str8_find,
test_str8_rfind,
test_str8_list_get,
test_str8_list_push_front,
test_str8_list_push_back,
test_str8_list_insert,
test_str8_list_pop_front,
test_str8_list_pop_back,
test_str8_list_remove,
test_cpath_join_path,
test_cpath_dirname,
test_cpath_dirup,