]> pd.if.org Git - pdclib/blobdiff - functions/_PDCLIB/digits.c
Declarating include and testdriver added.
[pdclib] / functions / _PDCLIB / digits.c
index 6f360646f65514c66a2c8859724edf3f3b676c47..751ac0852edbf71ee64a3abeebdcafa18d979940 100644 (file)
@@ -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 <string.h>
 
 int main( void )
 {
-    /* no tests for raw data */
-    return 0;
+    TESTCASE( strcmp( _PDCLIB_digits, "0123456789abcdefghijklmnopqrstuvwxyz" ) == 0 );
+    return TEST_RESULTS;
 }
 
 #endif