aboutsummaryrefslogtreecommitdiff
path: root/test/src/mem
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-02-13 03:47:21 +0100
committerCharles <sircharlesaze@gmail.com>2020-02-13 03:47:21 +0100
commitb1ded109567f20ccd6bbe547618149abde7cd5b2 (patch)
tree12da402183c2f663b25c073b39429c591c1e60b7 /test/src/mem
parent8521c9e02b2bcb9f6437a111cba3f395236f8e22 (diff)
downloadlibft-b1ded109567f20ccd6bbe547618149abde7cd5b2.tar.gz
libft-b1ded109567f20ccd6bbe547618149abde7cd5b2.tar.bz2
libft-b1ded109567f20ccd6bbe547618149abde7cd5b2.zip
Added mem/test_* boilerplate
Diffstat (limited to 'test/src/mem')
-rw-r--r--test/src/mem/test_ft_bzero.c26
-rw-r--r--test/src/mem/test_ft_calloc.c14
-rw-r--r--test/src/mem/test_ft_memccpy.c26
-rw-r--r--test/src/mem/test_ft_memchr.c26
-rw-r--r--test/src/mem/test_ft_memcmp.c26
-rw-r--r--test/src/mem/test_ft_memcpy.c26
-rw-r--r--test/src/mem/test_ft_memmem.c26
-rw-r--r--test/src/mem/test_ft_memmove.c26
-rw-r--r--test/src/mem/test_ft_memset.c26
-rw-r--r--test/src/mem/test_ft_memset_pattern4.c26
-rw-r--r--test/src/mem/test_ft_memswap.c26
11 files changed, 274 insertions, 0 deletions
diff --git a/test/src/mem/test_ft_bzero.c b/test/src/mem/test_ft_bzero.c
new file mode 100644
index 0000000..f425068
--- /dev/null
+++ b/test/src/mem/test_ft_bzero.c
@@ -0,0 +1,26 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* test_ft_bzero.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/13 03:32:20 by cacharle #+# #+# */
+/* Updated: 2020/02/13 03:39:57 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft_test.h"
+
+TEST_GROUP(ft_bzero);
+
+TEST_SETUP(ft_bzero)
+{}
+
+TEST_TEAR_DOWN(ft_bzero)
+{}
+
+TEST(ft_bzero, basic)
+{
+
+}
diff --git a/test/src/mem/test_ft_calloc.c b/test/src/mem/test_ft_calloc.c
new file mode 100644
index 0000000..1497728
--- /dev/null
+++ b/test/src/mem/test_ft_calloc.c
@@ -0,0 +1,14 @@
+#include "libft_test.h"
+
+TEST_GROUP(ft_calloc);
+
+TEST_SETUP(ft_calloc)
+{}
+
+TEST_TEAR_DOWN(ft_calloc)
+{}
+
+TEST(ft_calloc, basic)
+{
+
+}
diff --git a/test/src/mem/test_ft_memccpy.c b/test/src/mem/test_ft_memccpy.c
new file mode 100644
index 0000000..6b7a1a5
--- /dev/null
+++ b/test/src/mem/test_ft_memccpy.c
@@ -0,0 +1,26 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* test_ft_memccpy.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/13 03:34:13 by cacharle #+# #+# */
+/* Updated: 2020/02/13 03:40:18 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft_test.h"
+
+TEST_GROUP(ft_memccpy);
+
+TEST_SETUP(ft_memccpy)
+{}
+
+TEST_TEAR_DOWN(ft_memccpy)
+{}
+
+TEST(ft_memccpy, basic)
+{
+
+}
diff --git a/test/src/mem/test_ft_memchr.c b/test/src/mem/test_ft_memchr.c
new file mode 100644
index 0000000..c0b2ae6
--- /dev/null
+++ b/test/src/mem/test_ft_memchr.c
@@ -0,0 +1,26 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* test_ft_memchr.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/13 03:33:14 by cacharle #+# #+# */
+/* Updated: 2020/02/13 03:40:28 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft_test.h"
+
+TEST_GROUP(ft_memchr);
+
+TEST_SETUP(ft_memchr)
+{}
+
+TEST_TEAR_DOWN(ft_memchr)
+{}
+
+TEST(ft_memchr, basic)
+{
+
+}
diff --git a/test/src/mem/test_ft_memcmp.c b/test/src/mem/test_ft_memcmp.c
new file mode 100644
index 0000000..363b06a
--- /dev/null
+++ b/test/src/mem/test_ft_memcmp.c
@@ -0,0 +1,26 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* test_ft_memcmp.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/13 03:32:16 by cacharle #+# #+# */
+/* Updated: 2020/02/13 03:40:36 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft_test.h"
+
+TEST_GROUP(ft_memcmp);
+
+TEST_SETUP(ft_memcmp)
+{}
+
+TEST_TEAR_DOWN(ft_memcmp)
+{}
+
+TEST(ft_memcmp, basic)
+{
+
+}
diff --git a/test/src/mem/test_ft_memcpy.c b/test/src/mem/test_ft_memcpy.c
new file mode 100644
index 0000000..a41ceee
--- /dev/null
+++ b/test/src/mem/test_ft_memcpy.c
@@ -0,0 +1,26 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* test_ft_memcpy.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/13 03:33:22 by cacharle #+# #+# */
+/* Updated: 2020/02/13 03:40:46 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft_test.h"
+
+TEST_GROUP(ft_memcpy);
+
+TEST_SETUP(ft_memcpy)
+{}
+
+TEST_TEAR_DOWN(ft_memcpy)
+{}
+
+TEST(ft_memcpy, basic)
+{
+
+}
diff --git a/test/src/mem/test_ft_memmem.c b/test/src/mem/test_ft_memmem.c
new file mode 100644
index 0000000..6492657
--- /dev/null
+++ b/test/src/mem/test_ft_memmem.c
@@ -0,0 +1,26 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* test_ft_memmem.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/13 03:33:50 by cacharle #+# #+# */
+/* Updated: 2020/02/13 03:41:09 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft_test.h"
+
+TEST_GROUP(ft_memmem);
+
+TEST_SETUP(ft_memmem)
+{}
+
+TEST_TEAR_DOWN(ft_memmem)
+{}
+
+TEST(ft_memmem, basic)
+{
+
+}
diff --git a/test/src/mem/test_ft_memmove.c b/test/src/mem/test_ft_memmove.c
new file mode 100644
index 0000000..adbb3b0
--- /dev/null
+++ b/test/src/mem/test_ft_memmove.c
@@ -0,0 +1,26 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* test_ft_memmove.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/13 03:34:21 by cacharle #+# #+# */
+/* Updated: 2020/02/13 03:41:18 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft_test.h"
+
+TEST_GROUP(ft_memmove);
+
+TEST_SETUP(ft_memmove)
+{}
+
+TEST_TEAR_DOWN(ft_memmove)
+{}
+
+TEST(ft_memmove, basic)
+{
+
+}
diff --git a/test/src/mem/test_ft_memset.c b/test/src/mem/test_ft_memset.c
new file mode 100644
index 0000000..1816dba
--- /dev/null
+++ b/test/src/mem/test_ft_memset.c
@@ -0,0 +1,26 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* test_ft_memset.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/13 03:32:28 by cacharle #+# #+# */
+/* Updated: 2020/02/13 03:41:27 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft_test.h"
+
+TEST_GROUP(ft_memset);
+
+TEST_SETUP(ft_memset)
+{}
+
+TEST_TEAR_DOWN(ft_memset)
+{}
+
+TEST(ft_memset, basic)
+{
+
+}
diff --git a/test/src/mem/test_ft_memset_pattern4.c b/test/src/mem/test_ft_memset_pattern4.c
new file mode 100644
index 0000000..9a0f109
--- /dev/null
+++ b/test/src/mem/test_ft_memset_pattern4.c
@@ -0,0 +1,26 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* test_ft_memset_pattern4.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/13 03:32:43 by cacharle #+# #+# */
+/* Updated: 2020/02/13 03:41:36 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft_test.h"
+
+TEST_GROUP(ft_memset_pattern4);
+
+TEST_SETUP(ft_memset_pattern4)
+{}
+
+TEST_TEAR_DOWN(ft_memset_pattern4)
+{}
+
+TEST(ft_memset_pattern4, basic)
+{
+
+}
diff --git a/test/src/mem/test_ft_memswap.c b/test/src/mem/test_ft_memswap.c
new file mode 100644
index 0000000..4be1637
--- /dev/null
+++ b/test/src/mem/test_ft_memswap.c
@@ -0,0 +1,26 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* test_ft_memswap.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/13 03:38:27 by cacharle #+# #+# */
+/* Updated: 2020/02/13 03:41:46 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft_test.h"
+
+TEST_GROUP(ft_memswap);
+
+TEST_SETUP(ft_memswap)
+{}
+
+TEST_TEAR_DOWN(ft_memswap)
+{}
+
+TEST(ft_memswap, basic)
+{
+
+}