]> Savannah Git Hosting - gnulib.git/commit
totalorder* tests: Refactor.
authorBruno Haible <bruno@clisp.org>
Wed, 4 Oct 2023 11:35:11 +0000 (13:35 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 4 Oct 2023 11:35:11 +0000 (13:35 +0200)
commitd91a039299c5ee75e84889dd69a3ff9c3efc4b01
treec6f62d73e7c4a4d113e99eacbd06217f62fd6aab
parent864b6557d39dcff38784a837237776e9cc6985d9
totalorder* tests: Refactor.

* tests/test-totalorder.c (positive_nan, negative_nan): New functions,
extracted from main.
(main): Use them when initializing the array.
ChangeLog
tests/test-totalorder.c