-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_memdel.c
27 lines (22 loc) · 1.1 KB
/
test_memdel.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* test_memdel.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cnysten <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/12/03 16:21:49 by cnysten #+# #+# */
/* Updated: 2021/12/03 16:37:40 by cnysten ### ########.fr */
/* */
/* ************************************************************************** */
#include "test_libft.h"
void test_memdel(void)
{
t_test *test = new_test();
char *m1 = (char *) malloc(5);
print_function("FT_MEMDEL");
ft_memdel((void *) &m1);
test_address(NULL, m1, test);
evaluate(test);
free(test);
}