From ac0559db82bfef3b7ca3d976b1d7700ed2c1c1fc Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 31 Jan 2020 10:44:30 +0100 Subject: hash table unit testing, norming --- test/src/main.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/src/main.c (limited to 'test/src/main.c') diff --git a/test/src/main.c b/test/src/main.c new file mode 100644 index 0000000..a81bc8f --- /dev/null +++ b/test/src/main.c @@ -0,0 +1,14 @@ +#include "libft_test.h" + +static void run_all_test(void) +{ + RUN_TEST_GROUP(ft_strlen); + RUN_TEST_GROUP(ft_htnew); + RUN_TEST_GROUP(ft_htget); + RUN_TEST_GROUP(ft_htset); +} + +int main(int argc, const char **argv) +{ + return UnityMain(argc, argv, run_all_test); +} -- cgit