]> pd.if.org Git - pdclib/blobdiff - functions/_PDCLIB/Xdigits.c
Declarating include and testdriver added.
[pdclib] / functions / _PDCLIB / Xdigits.c
index cca46074725f64827721ac2c26fe93eddc77be1c..7568474248e90b78857d10ac88b9a961dfd41886 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_Xdigits[] = "0123456789ABCDEF";
 
 #ifdef TEST
+#include <_PDCLIB_test.h>
+
+#include <string.h>
 
 int main( void )
 {
-    /* no tests for raw data */
-    return 0;
+    TESTCASE( strcmp( _PDCLIB_Xdigits, "0123456789ABCDEF" ) == 0 );
+    return TEST_RESULTS;
 }
 
 #endif