Home | History | Annotate | Download | only in ADT

Lines Matching refs:ws

114   std::wstring ws = L"Hello Wide World!";
115 EXPECT_EQ(hash_combine_range(ws.c_str(), ws.c_str() + ws.size()),
116 hash_value(ws));
117 EXPECT_EQ(hash_combine_range(ws.c_str(), ws.c_str() + ws.size() - 1),
118 hash_value(ws.substr(0, ws.size() - 1)));
119 EXPECT_EQ(hash_combine_range(ws.c_str() + 1, ws.c_str() + ws.size() - 1),
120 hash_value(ws.substr(1, ws.size() - 2)));