aboutsummaryrefslogtreecommitdiff
path: root/test/ft_atoi_base_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ft_atoi_base_test.c')
-rw-r--r--test/ft_atoi_base_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ft_atoi_base_test.c b/test/ft_atoi_base_test.c
index dfb8671..1c4e1ef 100644
--- a/test/ft_atoi_base_test.c
+++ b/test/ft_atoi_base_test.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/08 03:07:27 by cacharle #+# #+# */
-/* Updated: 2020/04/13 14:52:28 by charles ### ########.fr */
+/* Updated: 2020/10/21 16:01:31 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -15,6 +15,8 @@
static int expected_ret;
static int actual_ret;
+#define TO_STRING(x) (#x)
+
#define FT_ATOI_BASE_EXPECT(str, base) do { \
actual_ret = ft_atoi_base(str, base); \
expected_ret = ref_ft_atoi_base(str, base); \