From 3d63835dc40edc6143538fb78bbc5f3cb888e6f5 Mon Sep 17 00:00:00 2001 From: Mosder Date: Tue, 18 Aug 2026 19:12:39 +0200 Subject: feat: added basic templates for hashmap implementation --- tests/ds/hashmap_tests.c | 8 ++++++++ tests/ds/hashmap_tests.h | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 tests/ds/hashmap_tests.c create mode 100644 tests/ds/hashmap_tests.h (limited to 'tests/ds') diff --git a/tests/ds/hashmap_tests.c b/tests/ds/hashmap_tests.c new file mode 100644 index 0000000..4e9acd7 --- /dev/null +++ b/tests/ds/hashmap_tests.c @@ -0,0 +1,8 @@ +#include "hashmap_tests.h" +#define MOS_HM_INIT_CAP 8 +#include "moslib/ds/hashmap.h" + +void ds_hashmap_tests(Tester *tester) { + TestGroup *group = add_test_group(tester, "moslib/ds/hashmap.h"); + (void)group; +} diff --git a/tests/ds/hashmap_tests.h b/tests/ds/hashmap_tests.h new file mode 100644 index 0000000..1efcbb7 --- /dev/null +++ b/tests/ds/hashmap_tests.h @@ -0,0 +1,3 @@ +#include + +extern void ds_hashmap_tests(Tester *tester); -- cgit v1.2.3