1 /* wmemmove( 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 wchar_t * wmemmove( wchar_t * dest, const wchar_t * src, size_t n )
\r
36 #include <_PDCLIB_test.h>
\r
40 wchar_t s[] = L"xxxxabcde";
\r
41 TESTCASE( wmemmove( s, s + 4, 5 ) == s );
\r
42 TESTCASE( s[0] == L'a' );
\r
43 TESTCASE( s[4] == L'e' );
\r
44 TESTCASE( s[5] == L'b' );
\r
45 TESTCASE( wmemmove( s + 4, s, 5 ) == s + 4 );
\r
46 TESTCASE( s[4] == L'a' );
\r
47 return TEST_RESULTS;
\r