Lines Matching defs:empty
13 skstd::string_view empty;
14 REPORTER_ASSERT(r, empty.data() == nullptr);
15 REPORTER_ASSERT(r, empty.length() == 0);
36 skstd::string_view empty("");
37 REPORTER_ASSERT(r, empty.empty());
38 REPORTER_ASSERT(r, !empty.starts_with('x'));
39 REPORTER_ASSERT(r, !empty.ends_with('x'));
40 REPORTER_ASSERT(r, !empty.starts_with("x"));
41 REPORTER_ASSERT(r, !empty.ends_with("x"));
42 REPORTER_ASSERT(r, empty.starts_with(""));
43 REPORTER_ASSERT(r, empty.ends_with(""));
46 REPORTER_ASSERT(r, !xyz.empty());
69 xyz.swap(empty);
71 REPORTER_ASSERT(r, empty == "xyz");
86 skstd::string_view empty;
87 REPORTER_ASSERT(r, empty.begin() == empty.end());
91 skstd::string_view empty;
92 REPORTER_ASSERT(r, empty == empty);
93 REPORTER_ASSERT(r, empty == "");
94 REPORTER_ASSERT(r, "" == empty);
95 REPORTER_ASSERT(r, !(empty != ""));
151 REPORTER_ASSERT(r, xyz.substr(0, 0).empty());
152 REPORTER_ASSERT(r, xyz.substr(1, 0).empty());
153 REPORTER_ASSERT(r, xyz.substr(2, 0).empty());
154 REPORTER_ASSERT(r, xyz.substr(3, 0).empty());
156 REPORTER_ASSERT(r, xyz.substr(3).empty());
157 REPORTER_ASSERT(r, xyz.substr(4).empty());