int main(void) { set(MAGENTA); set(BOLD); printf("\n\t\t\t\t\t\t\t\t=============== FUNCTIONS ===============\n\n"); set(UNCOLOR); test_bzero(); test_strcat(); test_isalpha(); test_isdigit(); test_isalnum(); test_isascii(); test_isprint(); test_toupper(); test_tolower(); test_puts(); test_strlen(); test_memset(); test_memcpy(); test_strdup(); set(MAGENTA); set(BOLD); printf("\t\t\t\t\t\t\t\t================= BONUS =================\n\n"); set(UNCOLOR); test_islower(); test_isupper(); test_strcpy(); test_putchar(); test_putstr(); return (0); }
int main() { test_isalnum(); test_isalpha(); test_islower(); test_isupper(); test_iscntrl(); test_isgraph(); test_isprint(); test_ispunct(); test_tolower(); test_toupper(); return 0; }
int main(void) { #ifdef TEST_ATOI # ifdef DEP # endif test_atoi(); #endif #ifdef TEST_ABSOLUTE # ifdef DEP # endif test_absolute(); #endif #ifdef TEST_BZERO # ifdef DEP # endif test_bzero(); #endif #ifdef TEST_ISALNUM # ifdef DEP # endif test_isalnum(); #endif #ifdef TEST_ISALPHA # ifdef DEP # endif test_isalpha(); #endif #ifdef TEST_ISASCII # ifdef DEP # endif test_isascii(); #endif #ifdef TEST_ISDIGIT # ifdef DEP # endif test_isdigit(); #endif #ifdef TEST_ISLOWER # ifdef DEP # endif test_islower(); #endif #ifdef TEST_ISPRINT # ifdef DEP # endif test_isprint(); #endif #ifdef TEST_ISUPPER # ifdef DEP # endif test_isupper(); #endif #ifdef TEST_ITOA # ifdef DEP # endif test_itoa(); #endif #ifdef TEST_LSTNEW # ifdef DEP # endif test_lstnew(); #endif #ifdef TEST_LSTADD # ifdef DEP printf("/!\\ ft_lstadd() requires ft_lstnew(). /!\\\n"); # endif test_lstadd(); #endif #ifdef TEST_LSTDELONE # ifdef DEP # endif test_lstdelone(); #endif #ifdef TEST_LSTDEL # ifdef DEP printf("/!\\ ft_lstdel() requires ft_lstdelone. /!\\\n"); # endif test_lstdel(); #endif #ifdef TEST_LSTMAP # ifdef DEP printf("/!\\ ft_lstmap() requires ft_memalloc(). /!\\\n"); # endif test_lstmap(); #endif #ifdef TEST_LSTITER # ifdef DEP # endif test_lstmap(); #endif #ifdef TEST_MEMALLOC test_memalloc(); #endif #ifdef TEST_MEMDEL test_memdel(); #endif #ifdef TEST_MEMCPY test_memcpy(); #endif #ifdef TEST_MEMCCPY test_memccpy(); #endif #ifdef TEST_MEMCHR test_memchr(); #endif #ifdef TEST_MEMCMP test_memcmp(); #endif return (0); }