]> pd.if.org Git - pdclib/blob - functions/_PDCLIB/digits.c
Whitespace cleanups.
[pdclib] / functions / _PDCLIB / digits.c
1 /* _PDCLIB_digits
2
3    This file is part of the Public Domain C Library (PDCLib).
4    Permission is granted to use, modify, and / or redistribute at will.
5 */
6
7 #include "_PDCLIB_int.h"
8
9 char _PDCLIB_digits[] = "0123456789abcdefghijklmnopqrstuvwxyz";
10
11 /* For _PDCLIB/print.c only; obsolete with ctype.h */
12 char _PDCLIB_Xdigits[] = "0123456789ABCDEF";
13
14 #ifdef TEST
15
16 #include "_PDCLIB_test.h"
17
18 #include <string.h>
19
20 int main( void )
21 {
22     TESTCASE( strcmp( _PDCLIB_digits, "0123456789abcdefghijklmnopqrstuvwxyz" ) == 0 );
23     TESTCASE( strcmp( _PDCLIB_Xdigits, "0123456789ABCDEF" ) == 0 );
24     return TEST_RESULTS;
25 }
26
27 #endif