diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-03-06 19:33:50 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-03-06 19:33:50 -0500 |
commit | b40d6490c4155a466d97561950fa9c3aa142170d (patch) | |
tree | 6a4463bcbcfd4c91e2782c581d9b509e190ce195 | |
parent | 0540366e3047d5f5326b25be8a21b5a3774adaf8 (diff) |
first strtod() test
-rw-r--r-- | stdlib.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); } |