malloc/t/tests.c

31 lines
1.1 KiB
C
Raw Normal View History

2019-04-24 20:59:37 +03:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* tests.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/10/23 21:00:24 by gtertysh #+# #+# */
/* Updated: 2018/10/23 21:05:47 by gtertysh ### ########.fr */
/* */
/* ************************************************************************** */
#include "t.h"
#include "tests.h"
int all_tests()
{
_VERIFY("malloc:", malloc_tests);
return 0;
}
int main()
{
int result;
result = all_tests();
if (result == 0)
printf("PASSED\n");
return result != 0;
}