]> pd.if.org Git - pdclib/blobdiff - functions/_PDCLIB/digits.c
* Test cleanups: surround the code for all functions by #ifndef REGTEST
[pdclib] / functions / _PDCLIB / digits.c
index ad41e5d906bdd00a8df28aa3fec1dde30f8a4b0a..52a7ae38585a13978b8069bb3066a9a5bf193271 100644 (file)
@@ -6,7 +6,9 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
+#ifndef REGTEST
 #include <_PDCLIB_int.h>
+#endif
 
 char _PDCLIB_digits[] = "0123456789abcdefghijklmnopqrstuvwxyz";
 
@@ -20,8 +22,10 @@ char _PDCLIB_Xdigits[] = "0123456789ABCDEF";
 
 int main( void )
 {
+#ifndef REGTEST
     TESTCASE( strcmp( _PDCLIB_digits, "0123456789abcdefghijklmnopqrstuvwxyz" ) == 0 );
     TESTCASE( strcmp( _PDCLIB_Xdigits, "0123456789ABCDEF" ) == 0 );
+#endif
     return TEST_RESULTS;
 }