aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-01-31 10:44:30 +0100
committerCharles <sircharlesaze@gmail.com>2020-02-28 12:22:43 +0100
commit8131a5d26441c5152ab151b4bb49b561e5ca6e81 (patch)
treeb2c272275a35ff723e8ebab350eb40fd09301898
parent3c3f1115f6e9a9b914e2dcbd796501ca7ce85342 (diff)
downloadlibft-8131a5d26441c5152ab151b4bb49b561e5ca6e81.tar.gz
libft-8131a5d26441c5152ab151b4bb49b561e5ca6e81.tar.bz2
libft-8131a5d26441c5152ab151b4bb49b561e5ca6e81.zip
hash table unit testing, norming
-rw-r--r--.gitignore2
-rw-r--r--Makefile2
-rw-r--r--include/libft_ctype.h2
-rw-r--r--include/libft_ht.h2
-rw-r--r--include/libft_io.h2
-rw-r--r--include/libft_lst.h2
-rw-r--r--include/libft_mem.h2
-rw-r--r--include/libft_str.h2
-rw-r--r--include/libft_types.h2
-rw-r--r--src/ht/ft_htdelone.c2
-rw-r--r--src/ht/ft_htdestroy.c4
-rw-r--r--src/ht/ft_htget.c2
-rw-r--r--src/ht/ft_htnew.c2
-rw-r--r--src/ht/ft_htset.c2
-rw-r--r--src/ht/ft_inter_htkey_cmp.c2
-rw-r--r--src/io/ft_next_line.c2
-rw-r--r--src/lst/ft_lstbsearch.c2
-rw-r--r--src/lst/ft_lstpop_front.c4
-rw-r--r--src/lst/ft_lstremove_if.c2
-rw-r--r--test/Makefile2
-rw-r--r--test/include/libft_test.h1
-rwxr-xr-xtest/libft_testbin0 -> 116524 bytes
-rw-r--r--test/src/ht/test_ft_htnew.c2
-rw-r--r--test/src/runner/test_runner_ht.c2
24 files changed, 24 insertions, 25 deletions
diff --git a/.gitignore b/.gitignore
index cf98940..35d1ada 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,6 @@
*.ghc
*.dSYM
a.out
-libft_test
+test_libft
obj/*
rendu.makefile
diff --git a/Makefile b/Makefile
index 5a7d8a9..be53e61 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/10/08 15:45:53 by cacharle #+# #+# #
-# Updated: 2020/02/13 04:31:23 by cacharle ### ########.fr #
+# Updated: 2020/02/28 12:08:33 by cacharle ### ########.fr #
# #
# **************************************************************************** #
diff --git a/include/libft_ctype.h b/include/libft_ctype.h
index ad42c64..61f4534 100644
--- a/include/libft_ctype.h
+++ b/include/libft_ctype.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/31 10:35:31 by cacharle #+# #+# */
-/* Updated: 2020/02/10 05:18:30 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:08:52 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/include/libft_ht.h b/include/libft_ht.h
index 62f2ee1..5a764b6 100644
--- a/include/libft_ht.h
+++ b/include/libft_ht.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/31 10:36:09 by cacharle #+# #+# */
-/* Updated: 2020/02/19 02:38:28 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:18:19 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/include/libft_io.h b/include/libft_io.h
index 76bce17..418b230 100644
--- a/include/libft_io.h
+++ b/include/libft_io.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/31 10:35:43 by cacharle #+# #+# */
-/* Updated: 2020/02/14 02:23:43 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:09:11 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/include/libft_lst.h b/include/libft_lst.h
index a48c1aa..2b4321c 100644
--- a/include/libft_lst.h
+++ b/include/libft_lst.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/31 10:36:39 by cacharle #+# #+# */
-/* Updated: 2020/02/17 03:05:36 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:09:21 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/include/libft_mem.h b/include/libft_mem.h
index a15c020..37c072e 100644
--- a/include/libft_mem.h
+++ b/include/libft_mem.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/31 10:35:57 by cacharle #+# #+# */
-/* Updated: 2020/02/13 03:11:09 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:17:48 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/include/libft_str.h b/include/libft_str.h
index 582ef00..ad04966 100644
--- a/include/libft_str.h
+++ b/include/libft_str.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/31 10:39:22 by cacharle #+# #+# */
-/* Updated: 2020/02/14 03:45:15 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:09:56 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/include/libft_types.h b/include/libft_types.h
index 20fe0f7..3987a80 100644
--- a/include/libft_types.h
+++ b/include/libft_types.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/31 10:36:56 by cacharle #+# #+# */
-/* Updated: 2020/02/13 03:07:56 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:10:02 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/src/ht/ft_htdelone.c b/src/ht/ft_htdelone.c
index 2c54721..77eae58 100644
--- a/src/ht/ft_htdelone.c
+++ b/src/ht/ft_htdelone.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/30 09:27:18 by cacharle #+# #+# */
-/* Updated: 2020/02/19 02:35:06 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:10:16 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/src/ht/ft_htdestroy.c b/src/ht/ft_htdestroy.c
index e0442c6..900f76e 100644
--- a/src/ht/ft_htdestroy.c
+++ b/src/ht/ft_htdestroy.c
@@ -5,8 +5,8 @@
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
-/* Created: 2020/01/30 08:19:06 by cacharle #+# #+# */
-/* Updated: 2020/01/30 08:33:09 by cacharle ### ########.fr */
+/* Created: 2020/01/30 08:31:02 by cacharle #+# #+# */
+/* Updated: 2020/02/28 12:10:31 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/src/ht/ft_htget.c b/src/ht/ft_htget.c
index 76e4fb2..1562eb0 100644
--- a/src/ht/ft_htget.c
+++ b/src/ht/ft_htget.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/30 08:33:21 by cacharle #+# #+# */
-/* Updated: 2020/02/19 01:44:41 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:21:09 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/src/ht/ft_htnew.c b/src/ht/ft_htnew.c
index d98a724..f77398f 100644
--- a/src/ht/ft_htnew.c
+++ b/src/ht/ft_htnew.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/30 08:19:16 by cacharle #+# #+# */
-/* Updated: 2020/02/10 02:16:20 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:10:51 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/src/ht/ft_htset.c b/src/ht/ft_htset.c
index c7068d5..81aba97 100644
--- a/src/ht/ft_htset.c
+++ b/src/ht/ft_htset.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/30 08:41:52 by cacharle #+# #+# */
-/* Updated: 2020/02/19 02:44:10 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:11:00 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/src/ht/ft_inter_htkey_cmp.c b/src/ht/ft_inter_htkey_cmp.c
index 6f04ecc..be2e52f 100644
--- a/src/ht/ft_inter_htkey_cmp.c
+++ b/src/ht/ft_inter_htkey_cmp.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/30 09:24:39 by cacharle #+# #+# */
-/* Updated: 2020/02/19 02:03:14 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:20:43 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/src/io/ft_next_line.c b/src/io/ft_next_line.c
index 0f4cc2c..74afa71 100644
--- a/src/io/ft_next_line.c
+++ b/src/io/ft_next_line.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/31 10:39:38 by cacharle #+# #+# */
-/* Updated: 2020/02/14 03:38:01 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:11:35 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/src/lst/ft_lstbsearch.c b/src/lst/ft_lstbsearch.c
index d694209..d3dc7e4 100644
--- a/src/lst/ft_lstbsearch.c
+++ b/src/lst/ft_lstbsearch.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/30 09:17:51 by cacharle #+# #+# */
-/* Updated: 2020/02/17 03:03:21 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:12:12 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/src/lst/ft_lstpop_front.c b/src/lst/ft_lstpop_front.c
index ff386f9..5bf2c60 100644
--- a/src/lst/ft_lstpop_front.c
+++ b/src/lst/ft_lstpop_front.c
@@ -5,8 +5,8 @@
/* +:+ +:+ +:+ */
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
-/* Created: 2019/10/25 03:32:51 by cacharle #+# #+# */
-/* Updated: 2020/01/15 12:46:28 by cacharle ### ########.fr */
+/* Created: 2020/01/30 08:29:58 by cacharle #+# #+# */
+/* Updated: 2020/02/28 12:12:47 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/src/lst/ft_lstremove_if.c b/src/lst/ft_lstremove_if.c
index 5221ae4..03643fa 100644
--- a/src/lst/ft_lstremove_if.c
+++ b/src/lst/ft_lstremove_if.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/30 09:36:49 by cacharle #+# #+# */
-/* Updated: 2020/02/19 02:06:22 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:20:51 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/test/Makefile b/test/Makefile
index 5835c1c..cf065c6 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -6,7 +6,7 @@
# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/02/15 04:35:44 by cacharle #+# #+# #
-# Updated: 2020/02/15 22:46:20 by cacharle ### ########.fr #
+# Updated: 2020/02/28 12:13:30 by cacharle ### ########.fr #
# #
# **************************************************************************** #
diff --git a/test/include/libft_test.h b/test/include/libft_test.h
index 23c39c3..1d944a5 100644
--- a/test/include/libft_test.h
+++ b/test/include/libft_test.h
@@ -22,5 +22,4 @@
# include "helper/helper_segfault.h"
-
#endif
diff --git a/test/libft_test b/test/libft_test
new file mode 100755
index 0000000..f786f17
--- /dev/null
+++ b/test/libft_test
Binary files differ
diff --git a/test/src/ht/test_ft_htnew.c b/test/src/ht/test_ft_htnew.c
index 6b90f03..82e54bc 100644
--- a/test/src/ht/test_ft_htnew.c
+++ b/test/src/ht/test_ft_htnew.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/12 22:30:06 by cacharle #+# #+# */
-/* Updated: 2020/02/17 04:18:20 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:15:32 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
diff --git a/test/src/runner/test_runner_ht.c b/test/src/runner/test_runner_ht.c
index 6f83006..ad7d5cb 100644
--- a/test/src/runner/test_runner_ht.c
+++ b/test/src/runner/test_runner_ht.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/12 22:44:39 by cacharle #+# #+# */
-/* Updated: 2020/02/19 02:46:34 by cacharle ### ########.fr */
+/* Updated: 2020/02/28 12:17:33 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */