added bgoulard lib + made lib sources in their own directory in build/ for readability

This commit is contained in:
B.Goulard 2024-11-01 00:00:14 +01:00
parent 83cc8419a0
commit 0a390934d6
457 changed files with 21807 additions and 61 deletions

View 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);
}