5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
12 #include <_PDCLIB_locale.h>
16 return _PDCLIB_threadlocale()->_CType[c].upper;
22 #include <_PDCLIB_test.h>
26 TESTCASE( toupper( 'a' ) == 'A' );
27 TESTCASE( toupper( 'z' ) == 'Z' );
28 TESTCASE( toupper( 'A' ) == 'A' );
29 TESTCASE( toupper( 'Z' ) == 'Z' );
30 TESTCASE( toupper( '@' ) == '@' );
31 TESTCASE( toupper( '[' ) == '[' );