aboutsummaryrefslogtreecommitdiff
path: root/test/src/str
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-05-10 22:01:15 +0200
committerCharles <sircharlesaze@gmail.com>2020-05-10 22:01:15 +0200
commitd3fb362c2e0b83cc9754a05ae5bc4a68a5f9269d (patch)
tree0caac15f6a52282d83acffa3154fd007fc3db444 /test/src/str
parent02abc030a68cb2fdd2f21c96db830ec8cb9176ad (diff)
downloadlibft-d3fb362c2e0b83cc9754a05ae5bc4a68a5f9269d.tar.gz
libft-d3fb362c2e0b83cc9754a05ae5bc4a68a5f9269d.tar.bz2
libft-d3fb362c2e0b83cc9754a05ae5bc4a68a5f9269d.zip
Added ft_strtof, ft_atof, ft_vectobuf32, ft_split_len (not tested)
Diffstat (limited to 'test/src/str')
-rw-r--r--test/src/str/test_ft_strtof.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/src/str/test_ft_strtof.c b/test/src/str/test_ft_strtof.c
new file mode 100644
index 0000000..65290a9
--- /dev/null
+++ b/test/src/str/test_ft_strtof.c
@@ -0,0 +1,29 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* test_ft_strtof.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/04/01 19:41:59 by charles #+# #+# */
+/* Updated: 2020/05/10 21:58:21 by charles ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft_test.h"
+
+TEST_GROUP(ft_strtof);
+
+TEST_SETUP(ft_strtof)
+{}
+
+TEST_TEAR_DOWN(ft_strtof)
+{}
+
+TEST(ft_strtof, basic)
+{
+ /* float foo; */
+
+ /* foo = ft_strtof("0.0", NULL); */
+ /* TEST_ASSERT(0); */
+}