5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
15 return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_SPACE );
21 #include <_PDCLIB_test.h>
25 TESTCASE( isspace( ' ' ) );
26 TESTCASE( isspace( '\f' ) );
27 TESTCASE( isspace( '\n' ) );
28 TESTCASE( isspace( '\r' ) );
29 TESTCASE( isspace( '\t' ) );
30 TESTCASE( isspace( '\v' ) );
31 TESTCASE( ! isspace( 'a' ) );