aboutsummaryrefslogtreecommitdiff
path: root/test/src/algo/test_ft_compar_int.c
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-10-11 14:53:20 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-10-11 14:53:20 +0200
commit39951f08a2938683d800c677c3a244e9ff8dbe19 (patch)
tree9321278f57c91d070e269fc2d2f95d4f2cb00fdf /test/src/algo/test_ft_compar_int.c
parent306a69eb9ae88813cf0be0aa3e001481e12220a1 (diff)
downloadlibft-39951f08a2938683d800c677c3a244e9ff8dbe19.tar.gz
libft-39951f08a2938683d800c677c3a244e9ff8dbe19.tar.bz2
libft-39951f08a2938683d800c677c3a244e9ff8dbe19.zip
Removing none c,h files for correction
Diffstat (limited to 'test/src/algo/test_ft_compar_int.c')
-rw-r--r--test/src/algo/test_ft_compar_int.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/src/algo/test_ft_compar_int.c b/test/src/algo/test_ft_compar_int.c
deleted file mode 100644
index 39cc322..0000000
--- a/test/src/algo/test_ft_compar_int.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "libft_test.h"
-
-TEST_GROUP(ft_compar_int);
-
-TEST_SETUP(ft_compar_int)
-{}
-
-TEST_TEAR_DOWN(ft_compar_int)
-{}
-
-TEST(ft_compar_int, basic)
-{
- int a = 4;
- int b = 3;
-
- TEST_ASSERT_GREATER_THAN(0, ft_compar_int(&a, &b));
- TEST_ASSERT_LESS_THAN(0, ft_compar_int(&b, &a));
- TEST_ASSERT_EQUAL(0, ft_compar_int(&a, &a));
- TEST_ASSERT_EQUAL(0, ft_compar_int(&b, &b));
-}