Lines Matching defs:bs
28 std::string bs = myconv.to_bytes(ws[0]);
29 assert(bs == "\xF1\x80\x80\x83");
30 bs = myconv.to_bytes(ws.c_str());
31 assert(bs == "\xF1\x80\x80\x83");
32 bs = myconv.to_bytes(ws);
33 assert(bs == "\xF1\x80\x80\x83");
34 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size());
35 assert(bs == "\xF1\x80\x80\x83");
36 bs = myconv.to_bytes(L"");
37 assert(bs.size() == 0);