diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-10-11 14:53:20 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-10-11 14:53:20 +0200 |
| commit | 39951f08a2938683d800c677c3a244e9ff8dbe19 (patch) | |
| tree | 9321278f57c91d070e269fc2d2f95d4f2cb00fdf /test/src/ht/test_ft_htdestroy.c | |
| parent | 306a69eb9ae88813cf0be0aa3e001481e12220a1 (diff) | |
| download | libft-39951f08a2938683d800c677c3a244e9ff8dbe19.tar.gz libft-39951f08a2938683d800c677c3a244e9ff8dbe19.tar.bz2 libft-39951f08a2938683d800c677c3a244e9ff8dbe19.zip | |
Removing none c,h files for correction
Diffstat (limited to 'test/src/ht/test_ft_htdestroy.c')
| -rw-r--r-- | test/src/ht/test_ft_htdestroy.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/src/ht/test_ft_htdestroy.c b/test/src/ht/test_ft_htdestroy.c deleted file mode 100644 index 4d212e1..0000000 --- a/test/src/ht/test_ft_htdestroy.c +++ /dev/null @@ -1,32 +0,0 @@ -/* ************************************************************************** */ -/* */ -/* ::: :::::::: */ -/* test_ft_htdestroy.c :+: :+: :+: */ -/* +:+ +:+ +:+ */ -/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ -/* +#+#+#+#+#+ +#+ */ -/* Created: 2020/02/19 02:45:27 by cacharle #+# #+# */ -/* Updated: 2020/04/03 07:07:07 by charles ### ########.fr */ -/* */ -/* ************************************************************************** */ - -#include "libft_test.h" - -TEST_GROUP(ft_htdestroy); - -TEST_SETUP(ft_htdestroy) -{} - -TEST_TEAR_DOWN(ft_htdestroy) -{} - -TEST(ft_htdestroy, basic) -{ - t_ftht *ht = ft_htnew(2); - - ft_htset(ht, "a", strdup("1"), free); - ft_htset(ht, "b", strdup("2"), free); - ft_htset(ht, "c", "3", NULL); - ft_htset(ht, "d", "4", NULL); - ft_htdestroy(ht, NULL); -} |
