Corewar documentation 1.0.0
Loading...
Searching...
No Matches
test_mymemory_lib.c File Reference

Unit tests for each function of the mymemory lib. More...

#include "criterion/criterion.h"
#include "criterion/redirect.h"
#include "../include/mymemory.h"

Functions

 Test (my_memset, test_my_memset)
 
 Test (my_memcpy, test_my_memcpy)
 
 Test (my_memmove, test_my_memmove)
 
 Test (my_memchr, test_my_memchr)
 
 Test (my_memcmp, test_my_memcmp)
 
 Test (my_calloc, test_my_calloc)
 
 Test (my_malloc_strdup, test_my_malloc_strdup)
 
 Test (my_malloc_strdup_word_array, test_my_malloc_strdup_word_array)
 
 Test (my_realloc, test_my_realloc)
 
 Test (my_malloc, test_my_malloc)
 

Detailed Description

Unit tests for each function of the mymemory lib.

Author
Nicolas TORO