Commit the Str8 tests

This commit is contained in:
2024-10-08 23:58:24 +01:00
parent 8f10ac2916
commit 84a4ec223c
2 changed files with 106 additions and 0 deletions

20
tests/str8/test_str8.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef TEST_STR8_H
#define TEST_STR8_H
#include "tester.h"
#ifdef __cplusplus
BEGIN_C_LINKAGE
#endif // __cplusplus
TestFuncResult test_str8_lit(void);
TestFuncResult test_str8_buf(void);
TestFuncResult test_str8_get_index_within_bounds(void);
TestFuncResult test_str8_get_index_out_of_bounds(void);
TestFuncResult test_str8_set(void);
#ifdef __cplusplus
END_C_LINKAGE
#endif // __cplusplus
#endif // !TEST_STR8_H