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