removing the libft of rparodi
This commit is contained in:
parent
0391323626
commit
be6038dcc8
523 changed files with 724 additions and 3336 deletions
34
libft/tests/ft_pair/pair_tests.c
Normal file
34
libft/tests/ft_pair/pair_tests.c
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* pair_tests.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: bgoulard <bgoulard@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/07/06 15:53:09 by bgoulard #+# #+# */
|
||||
/* Updated: 2024/07/06 17:15:20 by bgoulard ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "tests/pair_tests.h"
|
||||
#include "tests/tests.h"
|
||||
|
||||
int tests_pair(void)
|
||||
{
|
||||
int collect;
|
||||
const t_test test[] = {
|
||||
{"test_pair_set", test_pair_set},
|
||||
{"test_pair_new", test_pair_new},
|
||||
{"test_pair_second", test_pair_second},
|
||||
{"test_pair_first", test_pair_first},
|
||||
{"test_pair_cmp", test_pair_cmp},
|
||||
{"test_pair_cmp_first", test_pair_cmp_first},
|
||||
{"test_pair_cmp_second", test_pair_cmp_second},
|
||||
{"tests_pair_destroy", tests_pair_destroy},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
collect = 0;
|
||||
run_test(test, &collect);
|
||||
return (collect);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue