From 1f457376b478257b88d4a857f5ec1b6155442dd7 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 20 Sep 2020 03:03:26 +0000 Subject: CTAN sync 202009200303 --- support/dktools/test-bool.ctr | 86 ------------------------------------------- 1 file changed, 86 deletions(-) delete mode 100644 support/dktools/test-bool.ctr (limited to 'support/dktools/test-bool.ctr') diff --git a/support/dktools/test-bool.ctr b/support/dktools/test-bool.ctr deleted file mode 100644 index c717e2f2f5..0000000000 --- a/support/dktools/test-bool.ctr +++ /dev/null @@ -1,86 +0,0 @@ - -#include "dk4conf.h" -#include "dk4str8.h" - -#include - - - -$!trace-include - - - -static const char * const teststr[] = { -$!string-table -ja -nein -yes -no -y -n -on -off -o -of -true -tru -tr -t -false -fals -fal -fa -f -0 -1 -2 -+ -- -* -/ -JA -J -NEIN -N -YES -NO -YE -N -Y -OFF -OF -O -OfF -TRUE -TRU -TR -T -B -FALSE -FALSCH -FAL -FA -F -0815 -$!end -}; - -int main(void) -{ - const char * const *ptr; - $!trace-init test-bool.deb - $? "+ main" - ptr = teststr; - while (NULL != *ptr) { - printf("%d %d \"%s\"\n", - dk4str8_is_bool(*ptr), - dk4str8_is_on(*ptr), - *ptr - ); - ptr++; - } - $? "- main" - $!trace-end - return 0; -} - -- cgit v1.2.3