From 9db52bc5ef545a3fa9973002e9a28a2ece68d029 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 31 Jan 2020 08:08:59 +0100 Subject: Setup unit test with unity --- test/src/runner/test_ft_strlen_runner.c | 6 ++++++ test/src/str/test_ft_strlen.c | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 test/src/runner/test_ft_strlen_runner.c create mode 100644 test/src/str/test_ft_strlen.c (limited to 'test/src') diff --git a/test/src/runner/test_ft_strlen_runner.c b/test/src/runner/test_ft_strlen_runner.c new file mode 100644 index 0000000..368c033 --- /dev/null +++ b/test/src/runner/test_ft_strlen_runner.c @@ -0,0 +1,6 @@ +#include "libft_test.h" + +TEST_GROUP_RUNNER(ft_strlen) +{ + RUN_TEST_CASE(ft_strlen, yo); +} diff --git a/test/src/str/test_ft_strlen.c b/test/src/str/test_ft_strlen.c new file mode 100644 index 0000000..1e4e1c4 --- /dev/null +++ b/test/src/str/test_ft_strlen.c @@ -0,0 +1,14 @@ +#include "libft_test.h" + +TEST_GROUP(ft_strlen); + +TEST_SETUP(ft_strlen) +{} + +TEST_TEAR_DOWN(ft_strlen) +{} + +TEST(ft_strlen, yo) +{ + TEST_ASSERT_EQUAL(0, 0); +} -- cgit