c-strtold: Add tests.
commitc15fb7730c5f388fd3b7147abebfa6bb62bdc250
authorBruno Haible <bruno@clisp.org>
Tue, 5 Mar 2024 11:21:36 +0000 (5 12:21 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 5 Mar 2024 11:21:36 +0000 (5 12:21 +0100)
tree2799ce680bf75301100cbdc0eb306afc50f6c933
parent2bb63c10dda2024a6176132869e2d5ac2f37d344
c-strtold: Add tests.

* tests/test-strtold.h: New file, extracted from tests/test-strtold.c.
* tests/test-strtold.c: Include test-strtold.h.
(FABSL): Remove unused macro.
(main): Just invoke test_function.
* tests/test-strtold1.c: Add comment.
* modules/strtold-tests (Files): Add tests/test-strtold.h.
* tests/test-c-strtold.c: New file, based on tests/test-strtold.c.
* tests/test-c-strtold1.c: New file, based on tests/test-strtold1.c.
* tests/test-c-strtold1.sh: New file, based on tests/test-strtold1.sh.
* modules/c-strtold-tests: New file, based on modules/strtold-tests.
ChangeLog
modules/c-strtold-tests [copied from modules/strtold-tests with 55% similarity]
modules/strtold-tests
tests/test-c-strtold.c [new file with mode: 0644]
tests/test-c-strtold1.c [copied from tests/test-strtold1.c with 71% similarity]
tests/test-c-strtold1.sh [new file with mode: 0755]
tests/test-strtold.c
tests/test-strtold.h [copied from tests/test-strtold.c with 85% similarity]
tests/test-strtold1.c