From b40d6490c4155a466d97561950fa9c3aa142170d Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 6 Mar 2019 19:33:50 -0500 Subject: first strtod() test --- stdlib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib.c b/stdlib.c index 525a416..c66aa92 100644 --- a/stdlib.c +++ b/stdlib.c @@ -30,5 +30,7 @@ void test_stdlib_h(void) test_long_equals(strtol("zzzzzzzzzzzzzzzzzzzz", NULL, 36), LONG_MAX); test_long_equals(strtol("-zzzzzzzzzzzzzzzzzzzz", NULL, 36), LONG_MIN); + test_double(strtod("1.5", NULL), 1.5); + testing_end(); } -- cgit v1.2.1