Lines Matching defs:SV
19 template <class S, class SV>
21 test(SV lhs, const S& rhs, bool x)
30 typedef std::string_view SV;
31 test(SV(""), S(""), false);
32 test(SV(""), S("abcde"), true);
33 test(SV(""), S("abcdefghij"), true);
34 test(SV(""), S("abcdefghijklmnopqrst"), true);
35 test(SV("abcde"), S(""), false);
36 test(SV("abcde"), S("abcde"), false);
37 test(SV("abcde"), S("abcdefghij"), true);
38 test(SV("abcde"), S("abcdefghijklmnopqrst"), true);
39 test(SV("abcdefghij"), S(""), false);
40 test(SV("abcdefghij"), S("abcde"), false);
41 test(SV("abcdefghij"), S("abcdefghij"), false);
42 test(SV("abcdefghij"), S("abcdefghijklmnopqrst"), true);
43 test(SV("abcdefghijklmnopqrst"), S(""), false);
44 test(SV("abcdefghijklmnopqrst"), S("abcde"), false);
45 test(SV("abcdefghijklmnopqrst"), S("abcdefghij"), false);
46 test(SV("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false);
51 typedef std::basic_string_view<char, std::char_traits<char>> SV;
52 test(SV(""), S(""), false);
53 test(SV(""), S("abcde"), true);
54 test(SV(""), S("abcdefghij"), true);
55 test(SV(""), S("abcdefghijklmnopqrst"), true);
56 test(SV("abcde"), S(""), false);
57 test(SV("abcde"), S("abcde"), false);
58 test(SV("abcde"), S("abcdefghij"), true);
59 test(SV("abcde"), S("abcdefghijklmnopqrst"), true);
60 test(SV("abcdefghij"), S(""), false);
61 test(SV("abcdefghij"), S("abcde"), false);
62 test(SV("abcdefghij"), S("abcdefghij"), false);
63 test(SV("abcdefghij"), S("abcdefghijklmnopqrst"), true);
64 test(SV("abcdefghijklmnopqrst"), S(""), false);
65 test(SV("abcdefghijklmnopqrst"), S("abcde"), false);
66 test(SV("abcdefghijklmnopqrst"), S("abcdefghij"), false);
67 test(SV("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false);