3 /* strcoll( const char *, const char * )
5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
13 /* TODO: Dummy function, PDCLib does not support locales yet. */
14 int strcoll( const char * s1, const char * s2 )
16 return strcmp( s1, s2 );
22 #include <_PDCLIB_test.h>
26 char cmpabcde[] = "abcde";
28 TESTCASE( strcmp( abcde, cmpabcde ) == 0 );
29 TESTCASE( strcmp( abcde, abcdx ) < 0 );
30 TESTCASE( strcmp( abcdx, abcde ) > 0 );
31 TESTCASE( strcmp( empty, abcde ) < 0 );
32 TESTCASE( strcmp( abcde, empty ) > 0 );