Lines Matching defs:result
30 wchar_t *result = wcsncat(dst, L"hello, world!", 5);
31 if (wcscmp(dst, result) != 0) {
32 t_error("%s wcsncat get result is %s are not %s\n", __func__, dst, result);
35 t_error("%s wcsncat get result is %s are not 'hello'\n", __func__, dst);
41 * @tc.desc : Test the result of the function wcsncat when the number of incoming copies is 0
47 wchar_t *result = wcsncat(dst, L"hello, world!", 0);
48 if (wcscmp(dst, result) != 0) {
49 t_error("%s wcsncat get result is %s are not %s\n", __func__, dst, result);
52 t_error("%s wcsncat get result is %s are not 'hello'\n", __func__, dst);
58 * @tc.desc : Test the result of the wcsncat function when the number of incoming copies is greater than the
65 wchar_t *result = wcsncat(dst, L"hello, world!", 16);
66 if (wcscmp(dst, result) != 0) {
67 t_error("%s wcsncat get result is %s are not %s\n", __func__, dst, result);
70 t_error("%s wcsncat get result is %s are not 'hello, world!'\n", __func__, dst);