X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fdigits.c;h=751ac0852edbf71ee64a3abeebdcafa18d979940;hb=3d7cdd5d5712a24fcee4acc8f746d3b04f3e4db6;hp=6f360646f65514c66a2c8859724edf3f3b676c47;hpb=becd53172d8286b8460c20d4b61f8c54fb2dbca1;p=fw%2Fpdclib diff --git a/functions/_PDCLIB/digits.c b/functions/_PDCLIB/digits.c index 6f36064..751ac08 100644 --- a/functions/_PDCLIB/digits.c +++ b/functions/_PDCLIB/digits.c @@ -6,14 +6,22 @@ Permission is granted to use, modify, and / or redistribute at will. */ +#ifndef _PDCLIB_INT_H +#define _PDCLIB_INT_H _PDCLIB_INT_H +#include <_PDCLIB_int.h> +#endif + char _PDCLIB_digits[] = "0123456789abcdefghijklmnopqrstuvwxyz"; #ifdef TEST +#include <_PDCLIB_test.h> + +#include int main( void ) { - /* no tests for raw data */ - return 0; + TESTCASE( strcmp( _PDCLIB_digits, "0123456789abcdefghijklmnopqrstuvwxyz" ) == 0 ); + return TEST_RESULTS; } #endif