X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fdigits.c;h=751ac0852edbf71ee64a3abeebdcafa18d979940;hb=0d49a12a052e662c85cddf16bab19b9e1bd92a49;hp=6f360646f65514c66a2c8859724edf3f3b676c47;hpb=0742116c3ea77bd0bd0a59656402a9fdf39f8e89;p=pdclib 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