diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-02-16 04:51:41 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-02-16 04:51:41 +0100 |
| commit | 01b4cc91d1596cf94d709a627ed8ad64bc1e285d (patch) | |
| tree | 8b15a7758247ed4d4a084bccefedbf426ddfd305 /test/src/mem/test_ft_calloc.c | |
| parent | bf4dc8e5c1dbb8149f0cab473f73b5e9bac24ae0 (diff) | |
| download | libft-01b4cc91d1596cf94d709a627ed8ad64bc1e285d.tar.gz libft-01b4cc91d1596cf94d709a627ed8ad64bc1e285d.tar.bz2 libft-01b4cc91d1596cf94d709a627ed8ad64bc1e285d.zip | |
Filled lst* tests
Diffstat (limited to 'test/src/mem/test_ft_calloc.c')
| -rw-r--r-- | test/src/mem/test_ft_calloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/src/mem/test_ft_calloc.c b/test/src/mem/test_ft_calloc.c index 9944f41..0df9b95 100644 --- a/test/src/mem/test_ft_calloc.c +++ b/test/src/mem/test_ft_calloc.c @@ -19,6 +19,7 @@ TEST(ft_calloc, basic) #endif for (int i = 0; i < 45; i++) TEST_ASSERT_EQUAL(0x0, ptr[i]); + /* free(ptr); */ int *ptrint = NULL; ptrint = ft_calloc(10, sizeof(int)); @@ -28,4 +29,5 @@ TEST(ft_calloc, basic) #endif for (int i = 0; i < 10; i++) TEST_ASSERT_EQUAL(0x0, ptrint[i]); + /* free(ptrint); */ } |
