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].upper;
20 #include <_PDCLIB_test.h>
24 TESTCASE( toupper( 'a' ) == 'A' );
25 TESTCASE( toupper( 'z' ) == 'Z' );
26 TESTCASE( toupper( 'A' ) == 'A' );
27 TESTCASE( toupper( 'Z' ) == 'Z' );
28 TESTCASE( toupper( '@' ) == '@' );
29 TESTCASE( toupper( '[' ) == '[' );