mbox series

[0/3] t-ctype: simplify unit test definitions

Message ID 20240225112722.89221-1-l.s.r@web.de (mailing list archive)
Headers show
Series t-ctype: simplify unit test definitions | expand

Message

René Scharfe Feb. 25, 2024, 11:27 a.m. UTC
Simplify the ctype unit tests to allow combining specification strings
in any order and no longer require repeating class names.  Patch 3 gets
rid of aggregation by class and implements the tests in arguably the
most basic and straight-forward way for the unit test framework, at the
cost of producing raw and lengthy output.

  t-ctype: allow NUL anywhere in the specification string
  t-ctype: avoid duplicating class names
  t-ctype: do one test per class and char

 t/unit-tests/t-ctype.c | 73 ++++++++++++------------------------------
 1 file changed, 20 insertions(+), 53 deletions(-)

--
2.44.0