Esempio n. 1
0
int main(int argc, char** argv)
{
	printf("KEY META     TESTS\n");
	printf("==================\n\n");

	init (argc, argv);
	test_basic();
	test_iterate();
	test_size();
	test_uid();
	test_dup();
	test_comment();
	test_owner();
	test_mode();
	test_type();
	test_examples();
	test_copy();
	test_ro();
	test_new();
	test_copyall();


	printf("\ntest_ks RESULTS: %d test(s) done. %d error(s).\n", nbTest, nbError);

	return nbError;
}
Esempio n. 2
0
void			find_len(t_list **lst, t_display *display)
{
	t_list			*tmp;

	tmp = *lst;
	while (tmp)
	{
		test_links(display, tmp);
		test_owner(display, tmp);
		test_group(display, tmp);
		test_size(display, tmp);
		tmp = tmp->next;
	}
}