70 using std::wstring_view;
72 wstring_view str_0(
L"costa rica");
73 wstring_view str_1(
L"costa marbella");
81 test_value(wcsncmp(str_1.data(), str_0.data(), 6),
z);
83 test_value(wmemcmp(str_1.data(), str_0.data(), 6),
z);
94 str_2 =
L"costa ricans";
119 test_value(str_1.compare(0, 6,
L"costa rica", 0, 6),
z);
121 test_value(str_0.compare(0, 7,
L"costa marbella", 0, 7),
gt);