]> Savannah Git Hosting - gnulib.git/commit
c-strtof: Add tests.
authorBruno Haible <bruno@clisp.org>
Tue, 5 Mar 2024 11:18:01 +0000 (12:18 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 5 Mar 2024 11:18:01 +0000 (12:18 +0100)
commitf1ce7c98621facb90b59695d95fe0fcc31647fe3
treec776060d3161f8d6ecc824ff11ff881cc1b374c1
parent2ef79f8365c2fb5ba0735e6a21dc88b35ab8354e
c-strtof: Add tests.

* tests/test-strtof.h: New file, extracted from tests/test-strtof.c.
* tests/test-strtof.c: Include test-strtof.h.
(FABS): Remove unused macro.
(main): Just invoke test_function.
* tests/test-strtof1.c: Add comment.
* modules/strtof-tests (Files): Add tests/test-strtof.h.
* tests/test-c-strtof.c: New file, based on tests/test-strtof.c.
* tests/test-c-strtof1.c: New file, based on tests/test-strtof1.c.
* tests/test-c-strtof1.sh: New file, based on tests/test-strtof1.sh.
* modules/c-strtof-tests: New file, based on modules/strtof-tests.
ChangeLog
modules/c-strtof-tests [new file with mode: 0644]
modules/strtof-tests
tests/test-c-strtof.c [new file with mode: 0644]
tests/test-c-strtof1.c [new file with mode: 0644]
tests/test-c-strtof1.sh [new file with mode: 0755]
tests/test-strtof.c
tests/test-strtof.h [new file with mode: 0644]
tests/test-strtof1.c