3 This file is part of the Public Domain C Library (PDCLib).
4 Permission is granted to use, modify, and / or redistribute at will.
10 #include "_PDCLIB_locale.h"
14 return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_UPPER );
20 #include "_PDCLIB_test.h"
24 TESTCASE( isupper( 'A' ) );
25 TESTCASE( isupper( 'Z' ) );
26 TESTCASE( ! isupper( 'a' ) );
27 TESTCASE( ! isupper( 'z' ) );
28 TESTCASE( ! isupper( ' ' ) );
29 TESTCASE( ! isupper( '@' ) );