diff options
Diffstat (limited to 'test/src/ht/test_ft_htnew.c')
| -rw-r--r-- | test/src/ht/test_ft_htnew.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/test/src/ht/test_ft_htnew.c b/test/src/ht/test_ft_htnew.c index 2696e7f..b8729bd 100644 --- a/test/src/ht/test_ft_htnew.c +++ b/test/src/ht/test_ft_htnew.c @@ -1,5 +1,16 @@ -#include "libft_test.h" +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* test_ft_htnew.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/12 22:30:06 by cacharle #+# #+# */ +/* Updated: 2020/02/12 22:30:09 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ +#include "libft_test.h" TEST_GROUP(ft_htnew); @@ -13,6 +24,7 @@ int helper_segfault_pid; TEST(ft_htnew, segfault) { + TEST_IGNORE(); TEST_ASSERT_SEGFAULT(ft_htnew(10)); TEST_ASSERT_SEGFAULT(ft_htnew(0)); TEST_ASSERT_SEGFAULT(ft_htnew((1 << 14) + 1)); @@ -20,6 +32,7 @@ TEST(ft_htnew, segfault) TEST(ft_htnew, error_null) { + TEST_IGNORE(); TEST_ASSERT_NOT_NULL(ft_htnew(10)); // leak TEST_ASSERT_NULL(ft_htnew(0)); TEST_ASSERT_NULL(ft_htnew((1 << 14) + 1)); @@ -27,6 +40,7 @@ TEST(ft_htnew, error_null) TEST(ft_htnew, happy_path) { + TEST_IGNORE(); t_ftht *ht; ht = ft_htnew(10); |
