bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

c-strto{f,d,ld}: Add tests


From: Bruno Haible
Subject: c-strto{f,d,ld}: Add tests
Date: Tue, 05 Mar 2024 12:47:09 +0100

These three patches add unit tests for the modules c-strtof, c-strtod,
c-strtold.


2024-03-05  Bruno Haible  <bruno@clisp.org>

        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.

2024-03-05  Bruno Haible  <bruno@clisp.org>

        c-strtod: Add tests.
        * tests/test-strtod.h: New file, extracted from tests/test-strtod.c.
        * tests/test-strtod.c: Include test-strtod.h.
        (FABS): Remove unused macro.
        (main): Just invoke test_function.
        * tests/test-strtod1.c: Add comment.
        * modules/strtod-tests (Files): Add tests/test-strtod.h.
        * tests/test-c-strtod.c: New file, based on tests/test-strtod.c.
        * tests/test-c-strtod1.c: New file, based on tests/test-strtod1.c.
        * tests/test-c-strtod1.sh: New file, based on tests/test-strtod1.sh.
        * modules/c-strtod-tests: New file, based on modules/strtod-tests.

2024-03-05  Bruno Haible  <bruno@clisp.org>

        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.

Attachment: 0001-c-strtof-Add-tests.patch
Description: Text Data

Attachment: 0002-c-strtod-Add-tests.patch
Description: Text Data

Attachment: 0003-c-strtold-Add-tests.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]