1 /* wmemcmp( const wchar_t *, const wchar_t *, size_t )
\r
3 This file is part of the Public Domain C Library (PDCLib).
\r
4 Permission is granted to use, modify, and / or redistribute at will.
\r
11 int wmemcmp( const wchar_t * p1, const wchar_t * p2, size_t n )
\r
28 #include <_PDCLIB_test.h>
\r
32 wchar_t const xxxxx[] = L"xxxxx";
\r
33 TESTCASE( wmemcmp( wabcde, wabcdx, 5 ) < 0 );
\r
34 TESTCASE( wmemcmp( wabcde, wabcdx, 4 ) == 0 );
\r
35 TESTCASE( wmemcmp( wabcde, xxxxx, 0 ) == 0 );
\r
36 TESTCASE( wmemcmp( xxxxx, wabcde, 1 ) > 0 );
\r