Branch Coverage

t/svapi/simple.cc
Criterion Covered Total %
branch 1979 4822 41.0


line true false branch
11 2 2 template typename std::enable_if::value && std::is_unsigned::value, T>::type oknumtype (const SV* sv) { return SvUOK(sv) || SvIOK(sv); }
2 0 template typename std::enable_if::value && std::is_unsigned::value, T>::type oknumtype (const SV* sv) { return SvUOK(sv) || SvIOK(sv); }
4 0 template typename std::enable_if::value && std::is_unsigned::value, T>::type oknumtype (const SV* sv) { return SvUOK(sv) || SvIOK(sv); }
4 0 template typename std::enable_if::value && std::is_unsigned::value, T>::type oknumtype (const SV* sv) { return SvUOK(sv) || SvIOK(sv); }
4 0 template typename std::enable_if::value && std::is_unsigned::value, T>::type oknumtype (const SV* sv) { return SvUOK(sv) || SvIOK(sv); }
4 0 template typename std::enable_if::value && std::is_unsigned::value, T>::type oknumtype (const SV* sv) { return SvUOK(sv) || SvIOK(sv); }
4 0 template typename std::enable_if::value && std::is_unsigned::value, T>::type oknumtype (const SV* sv) { return SvUOK(sv) || SvIOK(sv); }
4 0 template typename std::enable_if::value && std::is_unsigned::value, T>::type oknumtype (const SV* sv) { return SvUOK(sv) || SvIOK(sv); }
12 4 0 template typename std::enable_if::value, T>::type oknumtype (const SV* sv) { return (bool)SvNOK(sv); }
4 0 template typename std::enable_if::value, T>::type oknumtype (const SV* sv) { return (bool)SvNOK(sv); }
19 1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
20 1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
26 1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
27 1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
28 1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
29 1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
32 1 0 obj = (T)0;
1 0 obj = (T)0;
1 0 obj = (T)0;
1 0 obj = (T)0;
1 0 obj = (T)0;
1 0 obj = (T)0;
1 0 obj = (T)0;
1 0 obj = (T)0;
1 0 obj = (T)0;
1 0 obj = (T)0;
33 1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
1 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
0 0 REQUIRE(oknumtype(_sv));
34 1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
1 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
0 0 REQUIRE(getnum(obj) == 0);
35 1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
1 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
0 0 REQUIRE((SV*)obj == _sv); // keep same SV
37 1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
1 0 SV* _tmp = sv_2mortal(newSVpvs("hello"));
38 1 0 obj = _tmp;
1 0 obj = _tmp;
1 0 obj = _tmp;
1 0 obj = _tmp;
1 0 obj = _tmp;
1 0 obj = _tmp;
1 0 obj = _tmp;
1 0 obj = _tmp;
1 0 obj = _tmp;
1 0 obj = _tmp;
39 1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
1 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
0 0 REQUIRE(SvPOK(_tmp));
40 1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
41 1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
1 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
0 0 REQUIRE(oknumtype(_tmp));
42 1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
1 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
0 0 REQUIRE(!SvPOK(_tmp));
43 1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
44 1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
1 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
0 0 REQUIRE((SV*)obj == _tmp); // keep same SV
49 1 0 Simple obj((T)0);
1 0 Simple obj((T)0);
1 0 Simple obj((T)0);
1 0 Simple obj((T)0);
1 0 Simple obj((T)0);
1 0 Simple obj((T)0);
1 0 Simple obj((T)0);
1 0 Simple obj((T)0);
1 0 Simple obj((T)0);
1 0 Simple obj((T)0);
50 1 0 obj.set(val);
1 0 obj.set(val);
1 0 obj.set(val);
1 0 obj.set(val);
1 0 obj.set(val);
1 0 obj.set(val);
1 0 obj.set(val);
1 0 obj.set(val);
1 0 obj.set(val);
1 0 obj.set(val);
51 1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
1 0 REQUIRE(obj);
0 0 REQUIRE(obj);
0 0 REQUIRE(obj);
52 1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
1 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
0 0 REQUIRE(oknumtype(obj));
53 1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
1 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
0 0 REQUIRE(getnum(obj) == val);
59 1 0 T r = obj;
1 0 T r = obj;
1 0 T r = obj;
1 0 T r = obj;
1 0 T r = obj;
1 0 T r = obj;
1 0 T r = obj;
1 0 T r = obj;
1 0 T r = obj;
1 0 T r = obj;
60 1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
1 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
0 0 REQUIRE(r == (T)0);
62 1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
1 0 obj = val;
63 1 0 r = obj;
1 0 r = obj;
1 0 r = obj;
1 0 r = obj;
1 0 r = obj;
1 0 r = obj;
1 0 r = obj;
1 0 r = obj;
1 0 r = obj;
1 0 r = obj;
64 1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
1 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
0 0 REQUIRE(r == val);
69 1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
1 0 Simple obj(val);
70 1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
1 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
0 0 REQUIRE(obj.get() == val);
76 1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
0 0 REQUIRE(o.as_string() == T());
0 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
0 0 REQUIRE(o.as_string() == T());
0 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
0 0 REQUIRE(o.as_string() == T());
0 0 REQUIRE(o.as_string() == T());
78 1 0 o = Sv::create();
1 0 o = Sv::create();
1 0 o = Sv::create();
1 0 o = Sv::create();
1 0 o = Sv::create();
1 0 o = Sv::create();
79 1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
0 0 REQUIRE(o.as_string() == T());
0 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
0 0 REQUIRE(o.as_string() == T());
0 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
1 0 REQUIRE(o.as_string() == T());
0 0 REQUIRE(o.as_string() == T());
0 0 REQUIRE(o.as_string() == T());
81 1 0 T src("epta");
82 1 0 o = string_view(src.data(), src.length());
1 0 o = string_view(src.data(), src.length());
1 0 o = string_view(src.data(), src.length());
83 1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
0 0 REQUIRE(o.as_string() == src);
0 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
0 0 REQUIRE(o.as_string() == src);
0 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
1 0 REQUIRE(o.as_string() == src);
0 0 REQUIRE(o.as_string() == src);
0 0 REQUIRE(o.as_string() == src);
87 99 0 perlvars vars;
88 99 0 Simple my(vars.iv);
90 99 0 int ivsize = Simple(eval_pv("use Config; $Config{ivsize}", 0));
99 0 int ivsize = Simple(eval_pv("use Config; $Config{ivsize}", 0));
99 0 int ivsize = Simple(eval_pv("use Config; $Config{ivsize}", 0));
92 99 0 SECTION("ctor") {
99 0 SECTION("ctor") {
99 0 SECTION("ctor") {
99 0 SECTION("ctor") {
29 70 SECTION("ctor") {
93 29 0 SECTION("empty") {
29 0 SECTION("empty") {
29 0 SECTION("empty") {
29 0 SECTION("empty") {
1 28 SECTION("empty") {
95 1 0 REQUIRE(!obj);
1 0 REQUIRE(!obj);
1 0 REQUIRE(!obj);
1 0 REQUIRE(!obj);
0 0 REQUIRE(!obj);
0 0 REQUIRE(!obj);
97 29 0 SECTION("SV") {
29 0 SECTION("SV") {
29 0 SECTION("SV") {
29 0 SECTION("SV") {
20 9 SECTION("SV") {
98 20 0 SECTION("undef") { Test::ctor(vars.undef, behaviour_t::VALID); }
20 0 SECTION("undef") { Test::ctor(vars.undef, behaviour_t::VALID); }
20 0 SECTION("undef") { Test::ctor(vars.undef, behaviour_t::VALID); }
20 0 SECTION("undef") { Test::ctor(vars.undef, behaviour_t::VALID); }
2 18 SECTION("undef") { Test::ctor(vars.undef, behaviour_t::VALID); }
2 0 SECTION("undef") { Test::ctor(vars.undef, behaviour_t::VALID); }
99 20 0 SECTION("number") { Test::ctor(vars.iv, behaviour_t::VALID); }
20 0 SECTION("number") { Test::ctor(vars.iv, behaviour_t::VALID); }
20 0 SECTION("number") { Test::ctor(vars.iv, behaviour_t::VALID); }
20 0 SECTION("number") { Test::ctor(vars.iv, behaviour_t::VALID); }
2 18 SECTION("number") { Test::ctor(vars.iv, behaviour_t::VALID); }
2 0 SECTION("number") { Test::ctor(vars.iv, behaviour_t::VALID); }
100 20 0 SECTION("string") { Test::ctor(vars.pv, behaviour_t::VALID); }
20 0 SECTION("string") { Test::ctor(vars.pv, behaviour_t::VALID); }
20 0 SECTION("string") { Test::ctor(vars.pv, behaviour_t::VALID); }
20 0 SECTION("string") { Test::ctor(vars.pv, behaviour_t::VALID); }
2 18 SECTION("string") { Test::ctor(vars.pv, behaviour_t::VALID); }
2 0 SECTION("string") { Test::ctor(vars.pv, behaviour_t::VALID); }
101 20 0 SECTION("OSV") { Test::ctor(vars.ov, behaviour_t::VALID); }
20 0 SECTION("OSV") { Test::ctor(vars.ov, behaviour_t::VALID); }
20 0 SECTION("OSV") { Test::ctor(vars.ov, behaviour_t::VALID); }
20 0 SECTION("OSV") { Test::ctor(vars.ov, behaviour_t::VALID); }
2 18 SECTION("OSV") { Test::ctor(vars.ov, behaviour_t::VALID); }
2 0 SECTION("OSV") { Test::ctor(vars.ov, behaviour_t::VALID); }
102 20 0 SECTION("RV") { Test::ctor(vars.rv, behaviour_t::THROWS); }
20 0 SECTION("RV") { Test::ctor(vars.rv, behaviour_t::THROWS); }
20 0 SECTION("RV") { Test::ctor(vars.rv, behaviour_t::THROWS); }
20 0 SECTION("RV") { Test::ctor(vars.rv, behaviour_t::THROWS); }
2 18 SECTION("RV") { Test::ctor(vars.rv, behaviour_t::THROWS); }
2 0 SECTION("RV") { Test::ctor(vars.rv, behaviour_t::THROWS); }
103 20 0 SECTION("AV") { Test::ctor((SV*)vars.av, behaviour_t::THROWS); }
20 0 SECTION("AV") { Test::ctor((SV*)vars.av, behaviour_t::THROWS); }
20 0 SECTION("AV") { Test::ctor((SV*)vars.av, behaviour_t::THROWS); }
20 0 SECTION("AV") { Test::ctor((SV*)vars.av, behaviour_t::THROWS); }
2 18 SECTION("AV") { Test::ctor((SV*)vars.av, behaviour_t::THROWS); }
2 0 SECTION("AV") { Test::ctor((SV*)vars.av, behaviour_t::THROWS); }
104 20 0 SECTION("HV") { Test::ctor((SV*)vars.hv, behaviour_t::THROWS); }
20 0 SECTION("HV") { Test::ctor((SV*)vars.hv, behaviour_t::THROWS); }
20 0 SECTION("HV") { Test::ctor((SV*)vars.hv, behaviour_t::THROWS); }
20 0 SECTION("HV") { Test::ctor((SV*)vars.hv, behaviour_t::THROWS); }
2 18 SECTION("HV") { Test::ctor((SV*)vars.hv, behaviour_t::THROWS); }
2 0 SECTION("HV") { Test::ctor((SV*)vars.hv, behaviour_t::THROWS); }
105 20 0 SECTION("CV") { Test::ctor((SV*)vars.cv, behaviour_t::THROWS); }
20 0 SECTION("CV") { Test::ctor((SV*)vars.cv, behaviour_t::THROWS); }
20 0 SECTION("CV") { Test::ctor((SV*)vars.cv, behaviour_t::THROWS); }
20 0 SECTION("CV") { Test::ctor((SV*)vars.cv, behaviour_t::THROWS); }
2 18 SECTION("CV") { Test::ctor((SV*)vars.cv, behaviour_t::THROWS); }
2 0 SECTION("CV") { Test::ctor((SV*)vars.cv, behaviour_t::THROWS); }
106 20 0 SECTION("GV") { Test::ctor((SV*)vars.gv, behaviour_t::THROWS); }
20 0 SECTION("GV") { Test::ctor((SV*)vars.gv, behaviour_t::THROWS); }
20 0 SECTION("GV") { Test::ctor((SV*)vars.gv, behaviour_t::THROWS); }
20 0 SECTION("GV") { Test::ctor((SV*)vars.gv, behaviour_t::THROWS); }
2 18 SECTION("GV") { Test::ctor((SV*)vars.gv, behaviour_t::THROWS); }
2 0 SECTION("GV") { Test::ctor((SV*)vars.gv, behaviour_t::THROWS); }
107 20 0 SECTION("IO") { Test::ctor((SV*)vars.io, behaviour_t::THROWS); }
20 0 SECTION("IO") { Test::ctor((SV*)vars.io, behaviour_t::THROWS); }
20 0 SECTION("IO") { Test::ctor((SV*)vars.io, behaviour_t::THROWS); }
20 0 SECTION("IO") { Test::ctor((SV*)vars.io, behaviour_t::THROWS); }
2 18 SECTION("IO") { Test::ctor((SV*)vars.io, behaviour_t::THROWS); }
2 0 SECTION("IO") { Test::ctor((SV*)vars.io, behaviour_t::THROWS); }
110 29 0 SECTION("Simple") { Test::ctor(my, behaviour_t::VALID); }
29 0 SECTION("Simple") { Test::ctor(my, behaviour_t::VALID); }
29 0 SECTION("Simple") { Test::ctor(my, behaviour_t::VALID); }
29 0 SECTION("Simple") { Test::ctor(my, behaviour_t::VALID); }
2 27 SECTION("Simple") { Test::ctor(my, behaviour_t::VALID); }
2 0 SECTION("Simple") { Test::ctor(my, behaviour_t::VALID); }
111 29 0 SECTION("valid Sv") { Test::ctor(oth_valid, behaviour_t::VALID); }
29 0 SECTION("valid Sv") { Test::ctor(oth_valid, behaviour_t::VALID); }
29 0 SECTION("valid Sv") { Test::ctor(oth_valid, behaviour_t::VALID); }
29 0 SECTION("valid Sv") { Test::ctor(oth_valid, behaviour_t::VALID); }
2 27 SECTION("valid Sv") { Test::ctor(oth_valid, behaviour_t::VALID); }
2 0 SECTION("valid Sv") { Test::ctor(oth_valid, behaviour_t::VALID); }
112 29 0 SECTION("invalid Sv") { Test::ctor(oth_invalid, behaviour_t::THROWS); }
29 0 SECTION("invalid Sv") { Test::ctor(oth_invalid, behaviour_t::THROWS); }
29 0 SECTION("invalid Sv") { Test::ctor(oth_invalid, behaviour_t::THROWS); }
29 0 SECTION("invalid Sv") { Test::ctor(oth_invalid, behaviour_t::THROWS); }
2 27 SECTION("invalid Sv") { Test::ctor(oth_invalid, behaviour_t::THROWS); }
2 0 SECTION("invalid Sv") { Test::ctor(oth_invalid, behaviour_t::THROWS); }
114 29 0 SECTION("from number") {
29 0 SECTION("from number") {
29 0 SECTION("from number") {
29 0 SECTION("from number") {
1 28 SECTION("from number") {
115 1 0 test_ctor((int8_t)-5);
116 1 0 test_ctor((int16_t)-30000);
117 1 0 test_ctor((int32_t)1000000000);
118 1 0 if (ivsize == 8) test_ctor(9223372036854775807L);
1 0 if (ivsize == 8) test_ctor(9223372036854775807L);
119 1 0 test_ctor((uint8_t)255);
120 1 0 test_ctor((uint16_t)65535);
121 1 0 test_ctor((uint32_t)4000000000);
122 1 0 if (ivsize == 8) test_ctor(18446744073709551615LU);
1 0 if (ivsize == 8) test_ctor(18446744073709551615LU);
123 1 0 test_ctor(5.5f);
124 1 0 test_ctor(222222222.222222);
126 29 0 SECTION("from string_view") {
29 0 SECTION("from string_view") {
29 0 SECTION("from string_view") {
29 0 SECTION("from string_view") {
1 28 SECTION("from string_view") {
127 1 0 Simple obj(string_view("suka"));
128 1 0 REQUIRE(string_view(SvPVX(obj), 4) == "suka");
1 0 REQUIRE(string_view(SvPVX(obj), 4) == "suka");
1 0 REQUIRE(string_view(SvPVX(obj), 4) == "suka");
1 0 REQUIRE(string_view(SvPVX(obj), 4) == "suka");
1 0 REQUIRE(string_view(SvPVX(obj), 4) == "suka");
0 0 REQUIRE(string_view(SvPVX(obj), 4) == "suka");
0 0 REQUIRE(string_view(SvPVX(obj), 4) == "suka");
129 1 0 REQUIRE(SvCUR(obj) == 4);
1 0 REQUIRE(SvCUR(obj) == 4);
1 0 REQUIRE(SvCUR(obj) == 4);
1 0 REQUIRE(SvCUR(obj) == 4);
1 0 REQUIRE(SvCUR(obj) == 4);
0 0 REQUIRE(SvCUR(obj) == 4);
0 0 REQUIRE(SvCUR(obj) == 4);
130 1 0 REQUIRE(obj.is_string());
1 0 REQUIRE(obj.is_string());
1 0 REQUIRE(obj.is_string());
1 0 REQUIRE(obj.is_string());
0 0 REQUIRE(obj.is_string());
0 0 REQUIRE(obj.is_string());
134 99 0 SECTION("noinc") {
99 0 SECTION("noinc") {
99 0 SECTION("noinc") {
99 0 SECTION("noinc") {
10 89 SECTION("noinc") {
135 10 0 SECTION("undef") { Test::noinc(vars.undef, behaviour_t::VALID); }
10 0 SECTION("undef") { Test::noinc(vars.undef, behaviour_t::VALID); }
10 0 SECTION("undef") { Test::noinc(vars.undef, behaviour_t::VALID); }
10 0 SECTION("undef") { Test::noinc(vars.undef, behaviour_t::VALID); }
1 9 SECTION("undef") { Test::noinc(vars.undef, behaviour_t::VALID); }
1 0 SECTION("undef") { Test::noinc(vars.undef, behaviour_t::VALID); }
136 10 0 SECTION("number") { Test::noinc(vars.iv, behaviour_t::VALID); }
10 0 SECTION("number") { Test::noinc(vars.iv, behaviour_t::VALID); }
10 0 SECTION("number") { Test::noinc(vars.iv, behaviour_t::VALID); }
10 0 SECTION("number") { Test::noinc(vars.iv, behaviour_t::VALID); }
1 9 SECTION("number") { Test::noinc(vars.iv, behaviour_t::VALID); }
1 0 SECTION("number") { Test::noinc(vars.iv, behaviour_t::VALID); }
137 10 0 SECTION("string") { Test::noinc(vars.pv, behaviour_t::VALID); }
10 0 SECTION("string") { Test::noinc(vars.pv, behaviour_t::VALID); }
10 0 SECTION("string") { Test::noinc(vars.pv, behaviour_t::VALID); }
10 0 SECTION("string") { Test::noinc(vars.pv, behaviour_t::VALID); }
1 9 SECTION("string") { Test::noinc(vars.pv, behaviour_t::VALID); }
1 0 SECTION("string") { Test::noinc(vars.pv, behaviour_t::VALID); }
138 10 0 SECTION("OSV") { Test::noinc(vars.ov, behaviour_t::VALID); }
10 0 SECTION("OSV") { Test::noinc(vars.ov, behaviour_t::VALID); }
10 0 SECTION("OSV") { Test::noinc(vars.ov, behaviour_t::VALID); }
10 0 SECTION("OSV") { Test::noinc(vars.ov, behaviour_t::VALID); }
1 9 SECTION("OSV") { Test::noinc(vars.ov, behaviour_t::VALID); }
1 0 SECTION("OSV") { Test::noinc(vars.ov, behaviour_t::VALID); }
139 10 0 SECTION("RV") { Test::noinc(vars.rv, behaviour_t::THROWS); }
10 0 SECTION("RV") { Test::noinc(vars.rv, behaviour_t::THROWS); }
10 0 SECTION("RV") { Test::noinc(vars.rv, behaviour_t::THROWS); }
10 0 SECTION("RV") { Test::noinc(vars.rv, behaviour_t::THROWS); }
1 9 SECTION("RV") { Test::noinc(vars.rv, behaviour_t::THROWS); }
1 0 SECTION("RV") { Test::noinc(vars.rv, behaviour_t::THROWS); }
140 10 0 SECTION("AV") { Test::noinc((SV*)vars.av, behaviour_t::THROWS); }
10 0 SECTION("AV") { Test::noinc((SV*)vars.av, behaviour_t::THROWS); }
10 0 SECTION("AV") { Test::noinc((SV*)vars.av, behaviour_t::THROWS); }
10 0 SECTION("AV") { Test::noinc((SV*)vars.av, behaviour_t::THROWS); }
1 9 SECTION("AV") { Test::noinc((SV*)vars.av, behaviour_t::THROWS); }
1 0 SECTION("AV") { Test::noinc((SV*)vars.av, behaviour_t::THROWS); }
141 10 0 SECTION("HV") { Test::noinc((SV*)vars.hv, behaviour_t::THROWS); }
10 0 SECTION("HV") { Test::noinc((SV*)vars.hv, behaviour_t::THROWS); }
10 0 SECTION("HV") { Test::noinc((SV*)vars.hv, behaviour_t::THROWS); }
10 0 SECTION("HV") { Test::noinc((SV*)vars.hv, behaviour_t::THROWS); }
1 9 SECTION("HV") { Test::noinc((SV*)vars.hv, behaviour_t::THROWS); }
1 0 SECTION("HV") { Test::noinc((SV*)vars.hv, behaviour_t::THROWS); }
142 10 0 SECTION("CV") { Test::noinc((SV*)vars.cv, behaviour_t::THROWS); }
10 0 SECTION("CV") { Test::noinc((SV*)vars.cv, behaviour_t::THROWS); }
10 0 SECTION("CV") { Test::noinc((SV*)vars.cv, behaviour_t::THROWS); }
10 0 SECTION("CV") { Test::noinc((SV*)vars.cv, behaviour_t::THROWS); }
1 9 SECTION("CV") { Test::noinc((SV*)vars.cv, behaviour_t::THROWS); }
1 0 SECTION("CV") { Test::noinc((SV*)vars.cv, behaviour_t::THROWS); }
143 10 0 SECTION("GV") { Test::noinc((SV*)vars.gv, behaviour_t::THROWS); }
10 0 SECTION("GV") { Test::noinc((SV*)vars.gv, behaviour_t::THROWS); }
10 0 SECTION("GV") { Test::noinc((SV*)vars.gv, behaviour_t::THROWS); }
10 0 SECTION("GV") { Test::noinc((SV*)vars.gv, behaviour_t::THROWS); }
1 9 SECTION("GV") { Test::noinc((SV*)vars.gv, behaviour_t::THROWS); }
1 0 SECTION("GV") { Test::noinc((SV*)vars.gv, behaviour_t::THROWS); }
144 10 0 SECTION("IO") { Test::noinc((SV*)vars.io, behaviour_t::THROWS); }
10 0 SECTION("IO") { Test::noinc((SV*)vars.io, behaviour_t::THROWS); }
10 0 SECTION("IO") { Test::noinc((SV*)vars.io, behaviour_t::THROWS); }
10 0 SECTION("IO") { Test::noinc((SV*)vars.io, behaviour_t::THROWS); }
1 9 SECTION("IO") { Test::noinc((SV*)vars.io, behaviour_t::THROWS); }
1 0 SECTION("IO") { Test::noinc((SV*)vars.io, behaviour_t::THROWS); }
147 99 0 SECTION("format") {
99 0 SECTION("format") {
99 0 SECTION("format") {
99 0 SECTION("format") {
1 98 SECTION("format") {
148 1 0 Simple obj = Simple::format("pi = %0.2f", 3.14157);
149 1 0 REQUIRE(obj.as_string() == "pi = 3.14");
1 0 REQUIRE(obj.as_string() == "pi = 3.14");
1 0 REQUIRE(obj.as_string() == "pi = 3.14");
1 0 REQUIRE(obj.as_string() == "pi = 3.14");
1 0 REQUIRE(obj.as_string() == "pi = 3.14");
1 0 REQUIRE(obj.as_string() == "pi = 3.14");
0 0 REQUIRE(obj.as_string() == "pi = 3.14");
0 0 REQUIRE(obj.as_string() == "pi = 3.14");
152 99 0 SECTION("operator=") {
99 0 SECTION("operator=") {
99 0 SECTION("operator=") {
99 0 SECTION("operator=") {
35 64 SECTION("operator=") {
153 35 0 Simple o(10);
154 35 0 SECTION("SV") {
35 0 SECTION("SV") {
35 0 SECTION("SV") {
35 0 SECTION("SV") {
20 15 SECTION("SV") {
155 20 0 SECTION("undef") { Test::assign(o, vars.undef, behaviour_t::VALID); }
20 0 SECTION("undef") { Test::assign(o, vars.undef, behaviour_t::VALID); }
20 0 SECTION("undef") { Test::assign(o, vars.undef, behaviour_t::VALID); }
20 0 SECTION("undef") { Test::assign(o, vars.undef, behaviour_t::VALID); }
2 18 SECTION("undef") { Test::assign(o, vars.undef, behaviour_t::VALID); }
2 0 SECTION("undef") { Test::assign(o, vars.undef, behaviour_t::VALID); }
156 20 0 SECTION("number") { Test::assign(o, vars.iv, behaviour_t::VALID); }
20 0 SECTION("number") { Test::assign(o, vars.iv, behaviour_t::VALID); }
20 0 SECTION("number") { Test::assign(o, vars.iv, behaviour_t::VALID); }
20 0 SECTION("number") { Test::assign(o, vars.iv, behaviour_t::VALID); }
2 18 SECTION("number") { Test::assign(o, vars.iv, behaviour_t::VALID); }
2 0 SECTION("number") { Test::assign(o, vars.iv, behaviour_t::VALID); }
157 20 0 SECTION("string") { Test::assign(o, vars.pv, behaviour_t::VALID); }
20 0 SECTION("string") { Test::assign(o, vars.pv, behaviour_t::VALID); }
20 0 SECTION("string") { Test::assign(o, vars.pv, behaviour_t::VALID); }
20 0 SECTION("string") { Test::assign(o, vars.pv, behaviour_t::VALID); }
2 18 SECTION("string") { Test::assign(o, vars.pv, behaviour_t::VALID); }
2 0 SECTION("string") { Test::assign(o, vars.pv, behaviour_t::VALID); }
158 20 0 SECTION("OSV") { Test::assign(o, vars.ov, behaviour_t::VALID); }
20 0 SECTION("OSV") { Test::assign(o, vars.ov, behaviour_t::VALID); }
20 0 SECTION("OSV") { Test::assign(o, vars.ov, behaviour_t::VALID); }
20 0 SECTION("OSV") { Test::assign(o, vars.ov, behaviour_t::VALID); }
2 18 SECTION("OSV") { Test::assign(o, vars.ov, behaviour_t::VALID); }
2 0 SECTION("OSV") { Test::assign(o, vars.ov, behaviour_t::VALID); }
159 20 0 SECTION("RV") { Test::assign(o, vars.rv, behaviour_t::THROWS); }
20 0 SECTION("RV") { Test::assign(o, vars.rv, behaviour_t::THROWS); }
20 0 SECTION("RV") { Test::assign(o, vars.rv, behaviour_t::THROWS); }
20 0 SECTION("RV") { Test::assign(o, vars.rv, behaviour_t::THROWS); }
2 18 SECTION("RV") { Test::assign(o, vars.rv, behaviour_t::THROWS); }
2 0 SECTION("RV") { Test::assign(o, vars.rv, behaviour_t::THROWS); }
160 20 0 SECTION("AV") { Test::assign(o, (SV*)vars.av, behaviour_t::THROWS); }
20 0 SECTION("AV") { Test::assign(o, (SV*)vars.av, behaviour_t::THROWS); }
20 0 SECTION("AV") { Test::assign(o, (SV*)vars.av, behaviour_t::THROWS); }
20 0 SECTION("AV") { Test::assign(o, (SV*)vars.av, behaviour_t::THROWS); }
2 18 SECTION("AV") { Test::assign(o, (SV*)vars.av, behaviour_t::THROWS); }
2 0 SECTION("AV") { Test::assign(o, (SV*)vars.av, behaviour_t::THROWS); }
161 20 0 SECTION("HV") { Test::assign(o, (SV*)vars.hv, behaviour_t::THROWS); }
20 0 SECTION("HV") { Test::assign(o, (SV*)vars.hv, behaviour_t::THROWS); }
20 0 SECTION("HV") { Test::assign(o, (SV*)vars.hv, behaviour_t::THROWS); }
20 0 SECTION("HV") { Test::assign(o, (SV*)vars.hv, behaviour_t::THROWS); }
2 18 SECTION("HV") { Test::assign(o, (SV*)vars.hv, behaviour_t::THROWS); }
2 0 SECTION("HV") { Test::assign(o, (SV*)vars.hv, behaviour_t::THROWS); }
162 20 0 SECTION("CV") { Test::assign(o, (SV*)vars.cv, behaviour_t::THROWS); }
20 0 SECTION("CV") { Test::assign(o, (SV*)vars.cv, behaviour_t::THROWS); }
20 0 SECTION("CV") { Test::assign(o, (SV*)vars.cv, behaviour_t::THROWS); }
20 0 SECTION("CV") { Test::assign(o, (SV*)vars.cv, behaviour_t::THROWS); }
2 18 SECTION("CV") { Test::assign(o, (SV*)vars.cv, behaviour_t::THROWS); }
2 0 SECTION("CV") { Test::assign(o, (SV*)vars.cv, behaviour_t::THROWS); }
163 20 0 SECTION("GV") { Test::assign(o, (SV*)vars.gv, behaviour_t::THROWS); }
20 0 SECTION("GV") { Test::assign(o, (SV*)vars.gv, behaviour_t::THROWS); }
20 0 SECTION("GV") { Test::assign(o, (SV*)vars.gv, behaviour_t::THROWS); }
20 0 SECTION("GV") { Test::assign(o, (SV*)vars.gv, behaviour_t::THROWS); }
2 18 SECTION("GV") { Test::assign(o, (SV*)vars.gv, behaviour_t::THROWS); }
2 0 SECTION("GV") { Test::assign(o, (SV*)vars.gv, behaviour_t::THROWS); }
164 20 0 SECTION("IO") { Test::assign(o, (SV*)vars.io, behaviour_t::THROWS); }
20 0 SECTION("IO") { Test::assign(o, (SV*)vars.io, behaviour_t::THROWS); }
20 0 SECTION("IO") { Test::assign(o, (SV*)vars.io, behaviour_t::THROWS); }
20 0 SECTION("IO") { Test::assign(o, (SV*)vars.io, behaviour_t::THROWS); }
2 18 SECTION("IO") { Test::assign(o, (SV*)vars.io, behaviour_t::THROWS); }
2 0 SECTION("IO") { Test::assign(o, (SV*)vars.io, behaviour_t::THROWS); }
166 35 0 SECTION("Simple") { Test::assign(o, my, behaviour_t::VALID); }
35 0 SECTION("Simple") { Test::assign(o, my, behaviour_t::VALID); }
35 0 SECTION("Simple") { Test::assign(o, my, behaviour_t::VALID); }
35 0 SECTION("Simple") { Test::assign(o, my, behaviour_t::VALID); }
4 31 SECTION("Simple") { Test::assign(o, my, behaviour_t::VALID); }
4 0 SECTION("Simple") { Test::assign(o, my, behaviour_t::VALID); }
167 35 0 SECTION("valid Sv") { Test::assign(o, oth_valid, behaviour_t::VALID); }
35 0 SECTION("valid Sv") { Test::assign(o, oth_valid, behaviour_t::VALID); }
35 0 SECTION("valid Sv") { Test::assign(o, oth_valid, behaviour_t::VALID); }
35 0 SECTION("valid Sv") { Test::assign(o, oth_valid, behaviour_t::VALID); }
4 31 SECTION("valid Sv") { Test::assign(o, oth_valid, behaviour_t::VALID); }
4 0 SECTION("valid Sv") { Test::assign(o, oth_valid, behaviour_t::VALID); }
168 35 0 SECTION("invalid Sv") { Test::assign(o, oth_invalid, behaviour_t::THROWS); }
35 0 SECTION("invalid Sv") { Test::assign(o, oth_invalid, behaviour_t::THROWS); }
35 0 SECTION("invalid Sv") { Test::assign(o, oth_invalid, behaviour_t::THROWS); }
35 0 SECTION("invalid Sv") { Test::assign(o, oth_invalid, behaviour_t::THROWS); }
4 31 SECTION("invalid Sv") { Test::assign(o, oth_invalid, behaviour_t::THROWS); }
4 0 SECTION("invalid Sv") { Test::assign(o, oth_invalid, behaviour_t::THROWS); }
169 35 0 SECTION("number") {
35 0 SECTION("number") {
35 0 SECTION("number") {
35 0 SECTION("number") {
1 34 SECTION("number") {
170 1 0 test_assign((int8_t)-5);
171 1 0 test_assign((int16_t)-30000);
172 1 0 test_assign((int32_t)1000000000);
173 1 0 if (ivsize == 8) test_assign(9223372036854775807L);
1 0 if (ivsize == 8) test_assign(9223372036854775807L);
174 1 0 test_assign((uint8_t)255);
175 1 0 test_assign((uint16_t)65535);
176 1 0 test_assign((uint32_t)4000000000);
177 1 0 if (ivsize == 8) test_assign(18446744073709551615LU);
1 0 if (ivsize == 8) test_assign(18446744073709551615LU);
178 1 0 test_assign(5.5f);
179 1 0 test_assign(222222222.222222);
181 35 0 SECTION("char*") {
35 0 SECTION("char*") {
35 0 SECTION("char*") {
35 0 SECTION("char*") {
1 34 SECTION("char*") {
182 1 0 Simple obj(vars.iv);
183 1 0 obj = "abcd";
184 1 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
0 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
0 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
185 1 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
0 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
0 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
186 1 0 REQUIRE(SvCUR(obj) == 4);
1 0 REQUIRE(SvCUR(obj) == 4);
1 0 REQUIRE(SvCUR(obj) == 4);
1 0 REQUIRE(SvCUR(obj) == 4);
1 0 REQUIRE(SvCUR(obj) == 4);
0 0 REQUIRE(SvCUR(obj) == 4);
0 0 REQUIRE(SvCUR(obj) == 4);
187 1 0 REQUIRE(obj.is_string());
1 0 REQUIRE(obj.is_string());
1 0 REQUIRE(obj.is_string());
1 0 REQUIRE(obj.is_string());
0 0 REQUIRE(obj.is_string());
0 0 REQUIRE(obj.is_string());
189 35 0 SECTION("string_view") {
35 0 SECTION("string_view") {
35 0 SECTION("string_view") {
35 0 SECTION("string_view") {
1 34 SECTION("string_view") {
190 1 0 Simple obj(vars.iv);
191 1 0 obj = string_view("abcd");
192 1 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
0 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
0 0 REQUIRE(string_view(SvPVX(obj), 4) == "abcd");
193 1 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
0 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
0 0 REQUIRE(string_view(SvPVX(vars.iv), 4) == "abcd");
194 1 0 REQUIRE(SvCUR(obj) == 4);
1 0 REQUIRE(SvCUR(obj) == 4);
1 0 REQUIRE(SvCUR(obj) == 4);
1 0 REQUIRE(SvCUR(obj) == 4);
1 0 REQUIRE(SvCUR(obj) == 4);
0 0 REQUIRE(SvCUR(obj) == 4);
0 0 REQUIRE(SvCUR(obj) == 4);
195 1 0 REQUIRE(obj.is_string());
1 0 REQUIRE(obj.is_string());
1 0 REQUIRE(obj.is_string());
1 0 REQUIRE(obj.is_string());
0 0 REQUIRE(obj.is_string());
0 0 REQUIRE(obj.is_string());
199 99 0 SECTION("set") {
99 0 SECTION("set") {
99 0 SECTION("set") {
99 0 SECTION("set") {
2 97 SECTION("set") {
200 2 0 SECTION("number") {
2 0 SECTION("number") {
2 0 SECTION("number") {
2 0 SECTION("number") {
1 1 SECTION("number") {
201 1 0 test_set((int8_t)-5);
202 1 0 test_set((int16_t)-30000);
203 1 0 test_set((int32_t)1000000000);
204 1 0 if (ivsize == 8) test_set(9223372036854775807L);
1 0 if (ivsize == 8) test_set(9223372036854775807L);
205 1 0 test_set((uint8_t)255);
206 1 0 test_set((uint16_t)65535);
207 1 0 test_set((uint32_t)4000000000);
208 1 0 if (ivsize == 8) test_set(18446744073709551615LU);
1 0 if (ivsize == 8) test_set(18446744073709551615LU);
209 1 0 test_set(5.5f);
210 1 0 test_set(222222222.222222);
212 2 0 SECTION("string") {
2 0 SECTION("string") {
2 0 SECTION("string") {
2 0 SECTION("string") {
1 1 SECTION("string") {
213 1 0 Simple o("xxxx");
214 1 0 o.set("abcd");
215 1 0 REQUIRE(o.is_string());
1 0 REQUIRE(o.is_string());
1 0 REQUIRE(o.is_string());
1 0 REQUIRE(o.is_string());
0 0 REQUIRE(o.is_string());
0 0 REQUIRE(o.is_string());
216 1 0 REQUIRE(string_view(SvPVX(o), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(o), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(o), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(o), 4) == "abcd");
1 0 REQUIRE(string_view(SvPVX(o), 4) == "abcd");
0 0 REQUIRE(string_view(SvPVX(o), 4) == "abcd");
0 0 REQUIRE(string_view(SvPVX(o), 4) == "abcd");
217 1 0 REQUIRE(SvCUR(o) == 4);
1 0 REQUIRE(SvCUR(o) == 4);
1 0 REQUIRE(SvCUR(o) == 4);
1 0 REQUIRE(SvCUR(o) == 4);
1 0 REQUIRE(SvCUR(o) == 4);
0 0 REQUIRE(SvCUR(o) == 4);
0 0 REQUIRE(SvCUR(o) == 4);
219 1 0 o.set(string_view("suka blya"));
220 1 0 REQUIRE(o.is_string());
1 0 REQUIRE(o.is_string());
1 0 REQUIRE(o.is_string());
1 0 REQUIRE(o.is_string());
0 0 REQUIRE(o.is_string());
0 0 REQUIRE(o.is_string());
221 1 0 REQUIRE(string_view(SvPVX(o), 9) == "suka blya");
1 0 REQUIRE(string_view(SvPVX(o), 9) == "suka blya");
1 0 REQUIRE(string_view(SvPVX(o), 9) == "suka blya");
1 0 REQUIRE(string_view(SvPVX(o), 9) == "suka blya");
1 0 REQUIRE(string_view(SvPVX(o), 9) == "suka blya");
0 0 REQUIRE(string_view(SvPVX(o), 9) == "suka blya");
0 0 REQUIRE(string_view(SvPVX(o), 9) == "suka blya");
222 1 0 REQUIRE(SvCUR(o) == 9);
1 0 REQUIRE(SvCUR(o) == 9);
1 0 REQUIRE(SvCUR(o) == 9);
1 0 REQUIRE(SvCUR(o) == 9);
1 0 REQUIRE(SvCUR(o) == 9);
0 0 REQUIRE(SvCUR(o) == 9);
0 0 REQUIRE(SvCUR(o) == 9);
226 99 0 SECTION("cast") {
99 0 SECTION("cast") {
99 0 SECTION("cast") {
99 0 SECTION("cast") {
3 96 SECTION("cast") {
227 3 0 SECTION("to number") {
3 0 SECTION("to number") {
3 0 SECTION("to number") {
3 0 SECTION("to number") {
1 2 SECTION("to number") {
228 1 0 test_cast((int8_t)-5);
229 1 0 test_cast((int16_t)-30000);
230 1 0 test_cast((int32_t)1000000000);
231 1 0 if (ivsize == 8) test_cast(9223372036854775807L);
1 0 if (ivsize == 8) test_cast(9223372036854775807L);
232 1 0 test_cast((uint8_t)255);
233 1 0 test_cast((uint16_t)65535);
234 1 0 test_cast((uint32_t)4000000000);
235 1 0 if (ivsize == 8) test_cast(18446744073709551615LU);
1 0 if (ivsize == 8) test_cast(18446744073709551615LU);
236 1 0 test_cast(5.5f);
237 1 0 test_cast(222222222.222222);
239 3 0 SECTION("to string_view") {
3 0 SECTION("to string_view") {
3 0 SECTION("to string_view") {
3 0 SECTION("to string_view") {
1 2 SECTION("to string_view") {
241 1 0 REQUIRE(o.c_str() == nullptr);
1 0 REQUIRE(o.c_str() == nullptr);
1 0 REQUIRE(o.c_str() == nullptr);
1 0 REQUIRE(o.c_str() == nullptr);
1 0 REQUIRE(o.c_str() == nullptr);
1 0 REQUIRE(o.c_str() == nullptr);
0 0 REQUIRE(o.c_str() == nullptr);
0 0 REQUIRE(o.c_str() == nullptr);
242 1 0 REQUIRE((string_view)o == string_view());
1 0 REQUIRE((string_view)o == string_view());
1 0 REQUIRE((string_view)o == string_view());
1 0 REQUIRE((string_view)o == string_view());
1 0 REQUIRE((string_view)o == string_view());
1 0 REQUIRE((string_view)o == string_view());
0 0 REQUIRE((string_view)o == string_view());
0 0 REQUIRE((string_view)o == string_view());
244 1 0 o = Sv::create();
1 0 o = Sv::create();
245 1 0 REQUIRE(strlen(o.c_str()) == 0);
1 0 REQUIRE(strlen(o.c_str()) == 0);
1 0 REQUIRE(strlen(o.c_str()) == 0);
1 0 REQUIRE(strlen(o.c_str()) == 0);
1 0 REQUIRE(strlen(o.c_str()) == 0);
1 0 REQUIRE(strlen(o.c_str()) == 0);
0 0 REQUIRE(strlen(o.c_str()) == 0);
0 0 REQUIRE(strlen(o.c_str()) == 0);
246 1 0 REQUIRE((string_view)o == string_view());
1 0 REQUIRE((string_view)o == string_view());
1 0 REQUIRE((string_view)o == string_view());
1 0 REQUIRE((string_view)o == string_view());
1 0 REQUIRE((string_view)o == string_view());
1 0 REQUIRE((string_view)o == string_view());
0 0 REQUIRE((string_view)o == string_view());
0 0 REQUIRE((string_view)o == string_view());
249 1 0 o = src;
250 1 0 REQUIRE(strlen(o.c_str()) == 4);
1 0 REQUIRE(strlen(o.c_str()) == 4);
1 0 REQUIRE(strlen(o.c_str()) == 4);
1 0 REQUIRE(strlen(o.c_str()) == 4);
1 0 REQUIRE(strlen(o.c_str()) == 4);
1 0 REQUIRE(strlen(o.c_str()) == 4);
0 0 REQUIRE(strlen(o.c_str()) == 4);
0 0 REQUIRE(strlen(o.c_str()) == 4);
251 1 0 REQUIRE(!strcmp(o.c_str(), src));
1 0 REQUIRE(!strcmp(o.c_str(), src));
1 0 REQUIRE(!strcmp(o.c_str(), src));
1 0 REQUIRE(!strcmp(o.c_str(), src));
1 0 REQUIRE(!strcmp(o.c_str(), src));
0 0 REQUIRE(!strcmp(o.c_str(), src));
0 0 REQUIRE(!strcmp(o.c_str(), src));
252 1 0 REQUIRE(o.c_str() != src);
1 0 REQUIRE(o.c_str() != src);
1 0 REQUIRE(o.c_str() != src);
1 0 REQUIRE(o.c_str() != src);
1 0 REQUIRE(o.c_str() != src);
1 0 REQUIRE(o.c_str() != src);
0 0 REQUIRE(o.c_str() != src);
0 0 REQUIRE(o.c_str() != src);
253 1 0 REQUIRE(strlen(o.get()) == 4);
1 0 REQUIRE(strlen(o.get()) == 4);
1 0 REQUIRE(strlen(o.get()) == 4);
1 0 REQUIRE(strlen(o.get()) == 4);
1 0 REQUIRE(strlen(o.get()) == 4);
0 0 REQUIRE(strlen(o.get()) == 4);
0 0 REQUIRE(strlen(o.get()) == 4);
254 1 0 REQUIRE(!strcmp(o.get(), src));
1 0 REQUIRE(!strcmp(o.get(), src));
1 0 REQUIRE(!strcmp(o.get(), src));
1 0 REQUIRE(!strcmp(o.get(), src));
0 0 REQUIRE(!strcmp(o.get(), src));
0 0 REQUIRE(!strcmp(o.get(), src));
255 1 0 REQUIRE(o.get() != src);
1 0 REQUIRE(o.get() != src);
1 0 REQUIRE(o.get() != src);
1 0 REQUIRE(o.get() != src);
1 0 REQUIRE(o.get() != src);
0 0 REQUIRE(o.get() != src);
0 0 REQUIRE(o.get() != src);
256 1 0 REQUIRE((string_view)o == string_view(src));
1 0 REQUIRE((string_view)o == string_view(src));
1 0 REQUIRE((string_view)o == string_view(src));
1 0 REQUIRE((string_view)o == string_view(src));
1 0 REQUIRE((string_view)o == string_view(src));
1 0 REQUIRE((string_view)o == string_view(src));
0 0 REQUIRE((string_view)o == string_view(src));
0 0 REQUIRE((string_view)o == string_view(src));
257 1 0 REQUIRE(((string_view)o).data() != src);
1 0 REQUIRE(((string_view)o).data() != src);
1 0 REQUIRE(((string_view)o).data() != src);
1 0 REQUIRE(((string_view)o).data() != src);
1 0 REQUIRE(((string_view)o).data() != src);
1 0 REQUIRE(((string_view)o).data() != src);
0 0 REQUIRE(((string_view)o).data() != src);
0 0 REQUIRE(((string_view)o).data() != src);
259 3 0 SECTION("to SV") {
3 0 SECTION("to SV") {
3 0 SECTION("to SV") {
3 0 SECTION("to SV") {
1 2 SECTION("to SV") {
260 1 0 Simple o(vars.iv);
263 1 0 REQUIRE(r == vars.iv);
1 0 REQUIRE(r == vars.iv);
1 0 REQUIRE(r == vars.iv);
1 0 REQUIRE(r == vars.iv);
1 0 REQUIRE(r == vars.iv);
0 0 REQUIRE(r == vars.iv);
0 0 REQUIRE(r == vars.iv);
264 1 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
1 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
1 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
1 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
1 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
0 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
0 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
268 99 0 SECTION("as_string") {
99 0 SECTION("as_string") {
99 0 SECTION("as_string") {
99 0 SECTION("as_string") {
3 96 SECTION("as_string") {
269 3 0 SECTION("string_view") { test_as_string(); }
3 0 SECTION("string_view") { test_as_string(); }
3 0 SECTION("string_view") { test_as_string(); }
3 0 SECTION("string_view") { test_as_string(); }
1 2 SECTION("string_view") { test_as_string(); }
1 0 SECTION("string_view") { test_as_string(); }
270 3 0 SECTION("std::string") { test_as_string(); }
3 0 SECTION("std::string") { test_as_string(); }
3 0 SECTION("std::string") { test_as_string(); }
3 0 SECTION("std::string") { test_as_string(); }
1 2 SECTION("std::string") { test_as_string(); }
1 0 SECTION("std::string") { test_as_string(); }
271 3 0 SECTION("panda::string") { test_as_string(); }
3 0 SECTION("panda::string") { test_as_string(); }
3 0 SECTION("panda::string") { test_as_string(); }
3 0 SECTION("panda::string") { test_as_string(); }
1 2 SECTION("panda::string") { test_as_string(); }
1 0 SECTION("panda::string") { test_as_string(); }
274 99 0 SECTION("get") {
99 0 SECTION("get") {
99 0 SECTION("get") {
99 0 SECTION("get") {
3 96 SECTION("get") {
275 3 0 SECTION("number") {
3 0 SECTION("number") {
3 0 SECTION("number") {
3 0 SECTION("number") {
1 2 SECTION("number") {
276 1 0 test_get((int8_t)-5);
277 1 0 test_get((int16_t)-30000);
278 1 0 test_get((int32_t)1000000000);
279 1 0 if (ivsize == 8) test_get(9223372036854775807L);
1 0 if (ivsize == 8) test_get(9223372036854775807L);
280 1 0 test_get((uint8_t)255);
281 1 0 test_get((uint16_t)65535);
282 1 0 test_get((uint32_t)4000000000);
283 1 0 if (ivsize == 8) test_get(18446744073709551615LU);
1 0 if (ivsize == 8) test_get(18446744073709551615LU);
284 1 0 test_get(5.5f);
285 1 0 test_get(222222222.222222);
287 3 0 SECTION("string") {
3 0 SECTION("string") {
3 0 SECTION("string") {
3 0 SECTION("string") {
1 2 SECTION("string") {
288 1 0 Simple o(vars.pv);
289 1 0 REQUIRE(o.get() == SvPVX(vars.pv));
1 0 REQUIRE(o.get() == SvPVX(vars.pv));
1 0 REQUIRE(o.get() == SvPVX(vars.pv));
1 0 REQUIRE(o.get() == SvPVX(vars.pv));
1 0 REQUIRE(o.get() == SvPVX(vars.pv));
0 0 REQUIRE(o.get() == SvPVX(vars.pv));
0 0 REQUIRE(o.get() == SvPVX(vars.pv));
290 1 0 REQUIRE(o.get() == string_view("hello"));
1 0 REQUIRE(o.get() == string_view("hello"));
1 0 REQUIRE(o.get() == string_view("hello"));
1 0 REQUIRE(o.get() == string_view("hello"));
1 0 REQUIRE(o.get() == string_view("hello"));
0 0 REQUIRE(o.get() == string_view("hello"));
0 0 REQUIRE(o.get() == string_view("hello"));
291 1 0 REQUIRE(o.get().data() == SvPVX(vars.pv));
1 0 REQUIRE(o.get().data() == SvPVX(vars.pv));
1 0 REQUIRE(o.get().data() == SvPVX(vars.pv));
1 0 REQUIRE(o.get().data() == SvPVX(vars.pv));
1 0 REQUIRE(o.get().data() == SvPVX(vars.pv));
0 0 REQUIRE(o.get().data() == SvPVX(vars.pv));
0 0 REQUIRE(o.get().data() == SvPVX(vars.pv));
293 3 0 SECTION("SV") {
3 0 SECTION("SV") {
3 0 SECTION("SV") {
3 0 SECTION("SV") {
1 2 SECTION("SV") {
294 1 0 Simple o(vars.iv);
296 1 0 REQUIRE(o.get() == vars.iv);
1 0 REQUIRE(o.get() == vars.iv);
1 0 REQUIRE(o.get() == vars.iv);
1 0 REQUIRE(o.get() == vars.iv);
1 0 REQUIRE(o.get() == vars.iv);
0 0 REQUIRE(o.get() == vars.iv);
0 0 REQUIRE(o.get() == vars.iv);
297 1 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
1 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
1 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
1 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
1 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
0 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
0 0 REQUIRE(SvREFCNT(vars.iv) == cnt);
301 99 0 SECTION("length") {
99 0 SECTION("length") {
99 0 SECTION("length") {
99 0 SECTION("length") {
1 98 SECTION("length") {
302 1 0 Simple o = vars.pv;
303 1 0 REQUIRE(o.length() == 5);
1 0 REQUIRE(o.length() == 5);
1 0 REQUIRE(o.length() == 5);
1 0 REQUIRE(o.length() == 5);
1 0 REQUIRE(o.length() == 5);
0 0 REQUIRE(o.length() == 5);
0 0 REQUIRE(o.length() == 5);
305 1 0 REQUIRE(o.length() == 3);
1 0 REQUIRE(o.length() == 3);
1 0 REQUIRE(o.length() == 3);
1 0 REQUIRE(o.length() == 3);
1 0 REQUIRE(o.length() == 3);
0 0 REQUIRE(o.length() == 3);
0 0 REQUIRE(o.length() == 3);
306 1 0 REQUIRE((string_view)o == "hel");
1 0 REQUIRE((string_view)o == "hel");
1 0 REQUIRE((string_view)o == "hel");
1 0 REQUIRE((string_view)o == "hel");
1 0 REQUIRE((string_view)o == "hel");
1 0 REQUIRE((string_view)o == "hel");
0 0 REQUIRE((string_view)o == "hel");
0 0 REQUIRE((string_view)o == "hel");
309 99 0 SECTION("upgrade") {
99 0 SECTION("upgrade") {
99 0 SECTION("upgrade") {
99 0 SECTION("upgrade") {
1 98 SECTION("upgrade") {
310 1 0 Simple o = vars.iv;
311 1 0 o.upgrade(SVt_PVMG); // upgrade till PVMG works
312 1 0 REQUIRE(o.type() == SVt_PVMG);
1 0 REQUIRE(o.type() == SVt_PVMG);
1 0 REQUIRE(o.type() == SVt_PVMG);
1 0 REQUIRE(o.type() == SVt_PVMG);
1 0 REQUIRE(o.type() == SVt_PVMG);
0 0 REQUIRE(o.type() == SVt_PVMG);
0 0 REQUIRE(o.type() == SVt_PVMG);
315 99 0 SECTION("capacity / create with capacity") {
99 0 SECTION("capacity / create with capacity") {
99 0 SECTION("capacity / create with capacity") {
99 0 SECTION("capacity / create with capacity") {
1 98 SECTION("capacity / create with capacity") {
316 1 0 Simple o = vars.pv;
317 1 0 REQUIRE(o.capacity() >= 6);
1 0 REQUIRE(o.capacity() >= 6);
1 0 REQUIRE(o.capacity() >= 6);
1 0 REQUIRE(o.capacity() >= 6);
1 0 REQUIRE(o.capacity() >= 6);
0 0 REQUIRE(o.capacity() >= 6);
0 0 REQUIRE(o.capacity() >= 6);
318 1 0 o = Simple::create(100);
319 1 0 REQUIRE(o.capacity() >= 100);
1 0 REQUIRE(o.capacity() >= 100);
1 0 REQUIRE(o.capacity() >= 100);
1 0 REQUIRE(o.capacity() >= 100);
1 0 REQUIRE(o.capacity() >= 100);
0 0 REQUIRE(o.capacity() >= 100);
0 0 REQUIRE(o.capacity() >= 100);
320 1 0 REQUIRE(o.length() == 0);
1 0 REQUIRE(o.length() == 0);
1 0 REQUIRE(o.length() == 0);
1 0 REQUIRE(o.length() == 0);
1 0 REQUIRE(o.length() == 0);
0 0 REQUIRE(o.length() == 0);
0 0 REQUIRE(o.length() == 0);
328 1 0 REQUIRE((string_view)o == string_view("jopa"));
1 0 REQUIRE((string_view)o == string_view("jopa"));
1 0 REQUIRE((string_view)o == string_view("jopa"));
1 0 REQUIRE((string_view)o == string_view("jopa"));
1 0 REQUIRE((string_view)o == string_view("jopa"));
1 0 REQUIRE((string_view)o == string_view("jopa"));
0 0 REQUIRE((string_view)o == string_view("jopa"));
0 0 REQUIRE((string_view)o == string_view("jopa"));
331 99 0 SECTION("shared") {
99 0 SECTION("shared") {
99 0 SECTION("shared") {
99 0 SECTION("shared") {
1 98 SECTION("shared") {
332 1 0 Simple o("str");
333 1 0 Simple o2("str");
334 1 0 REQUIRE(o.get() != o2.get());
1 0 REQUIRE(o.get() != o2.get());
1 0 REQUIRE(o.get() != o2.get());
1 0 REQUIRE(o.get() != o2.get());
1 0 REQUIRE(o.get() != o2.get());
0 0 REQUIRE(o.get() != o2.get());
0 0 REQUIRE(o.get() != o2.get());
336 1 0 o = Simple::shared("str");
337 1 0 o2 = Simple::shared("str");
338 1 0 REQUIRE(o.get() == o2.get());
1 0 REQUIRE(o.get() == o2.get());
1 0 REQUIRE(o.get() == o2.get());
1 0 REQUIRE(o.get() == o2.get());
1 0 REQUIRE(o.get() == o2.get());
0 0 REQUIRE(o.get() == o2.get());
0 0 REQUIRE(o.get() == o2.get());
341 99 0 SECTION("is_shared") {
99 0 SECTION("is_shared") {
99 0 SECTION("is_shared") {
99 0 SECTION("is_shared") {
1 98 SECTION("is_shared") {
343 1 0 REQUIRE(!o.is_shared());
1 0 REQUIRE(!o.is_shared());
1 0 REQUIRE(!o.is_shared());
1 0 REQUIRE(!o.is_shared());
0 0 REQUIRE(!o.is_shared());
0 0 REQUIRE(!o.is_shared());
344 1 0 o = Simple("hello");
345 1 0 REQUIRE(!o.is_shared());
1 0 REQUIRE(!o.is_shared());
1 0 REQUIRE(!o.is_shared());
1 0 REQUIRE(!o.is_shared());
0 0 REQUIRE(!o.is_shared());
0 0 REQUIRE(!o.is_shared());
346 1 0 o = Simple::shared("hello");
347 1 0 REQUIRE(o.is_shared());
1 0 REQUIRE(o.is_shared());
1 0 REQUIRE(o.is_shared());
1 0 REQUIRE(o.is_shared());
0 0 REQUIRE(o.is_shared());
0 0 REQUIRE(o.is_shared());
350 99 0 SECTION("hek") {
99 0 SECTION("hek") {
99 0 SECTION("hek") {
99 0 SECTION("hek") {
1 98 SECTION("hek") {
351 1 0 auto o = Simple::shared("world");
353 1 0 REQUIRE(string_view(HEK_KEY(hek), HEK_LEN(hek)) == "world");
1 0 REQUIRE(string_view(HEK_KEY(hek), HEK_LEN(hek)) == "world");
1 0 REQUIRE(string_view(HEK_KEY(hek), HEK_LEN(hek)) == "world");
1 0 REQUIRE(string_view(HEK_KEY(hek), HEK_LEN(hek)) == "world");
1 0 REQUIRE(string_view(HEK_KEY(hek), HEK_LEN(hek)) == "world");
0 0 REQUIRE(string_view(HEK_KEY(hek), HEK_LEN(hek)) == "world");
0 0 REQUIRE(string_view(HEK_KEY(hek), HEK_LEN(hek)) == "world");
356 99 0 SECTION("hash") {
99 0 SECTION("hash") {
99 0 SECTION("hash") {
99 0 SECTION("hash") {
1 98 SECTION("hash") {
358 1 0 REQUIRE(o.hash() == 0);
1 0 REQUIRE(o.hash() == 0);
1 0 REQUIRE(o.hash() == 0);
1 0 REQUIRE(o.hash() == 0);
1 0 REQUIRE(o.hash() == 0);
1 0 REQUIRE(o.hash() == 0);
0 0 REQUIRE(o.hash() == 0);
0 0 REQUIRE(o.hash() == 0);
359 1 0 o = "mystring";
362 1 0 REQUIRE(o.hash() == h);
1 0 REQUIRE(o.hash() == h);
1 0 REQUIRE(o.hash() == h);
1 0 REQUIRE(o.hash() == h);
1 0 REQUIRE(o.hash() == h);
1 0 REQUIRE(o.hash() == h);
0 0 REQUIRE(o.hash() == h);
0 0 REQUIRE(o.hash() == h);
365 99 0 SECTION("const operator[]") {
99 0 SECTION("const operator[]") {
99 0 SECTION("const operator[]") {
99 0 SECTION("const operator[]") {
1 98 SECTION("const operator[]") {
366 1 0 const Simple o("hello world");
367 1 0 REQUIRE(o[0] == 'h');
1 0 REQUIRE(o[0] == 'h');
1 0 REQUIRE(o[0] == 'h');
1 0 REQUIRE(o[0] == 'h');
1 0 REQUIRE(o[0] == 'h');
0 0 REQUIRE(o[0] == 'h');
0 0 REQUIRE(o[0] == 'h');
368 1 0 REQUIRE(o[10] == 'd');
1 0 REQUIRE(o[10] == 'd');
1 0 REQUIRE(o[10] == 'd');
1 0 REQUIRE(o[10] == 'd');
1 0 REQUIRE(o[10] == 'd');
0 0 REQUIRE(o[10] == 'd');
0 0 REQUIRE(o[10] == 'd');
371 99 0 SECTION("operator[]") {
99 0 SECTION("operator[]") {
99 0 SECTION("operator[]") {
99 0 SECTION("operator[]") {
1 98 SECTION("operator[]") {
372 1 0 Simple o("hello world");
373 1 0 REQUIRE(o[0] == 'h');
1 0 REQUIRE(o[0] == 'h');
1 0 REQUIRE(o[0] == 'h');
1 0 REQUIRE(o[0] == 'h');
1 0 REQUIRE(o[0] == 'h');
0 0 REQUIRE(o[0] == 'h');
0 0 REQUIRE(o[0] == 'h');
374 1 0 REQUIRE(o[10] == 'd');
1 0 REQUIRE(o[10] == 'd');
1 0 REQUIRE(o[10] == 'd');
1 0 REQUIRE(o[10] == 'd');
1 0 REQUIRE(o[10] == 'd');
0 0 REQUIRE(o[10] == 'd');
0 0 REQUIRE(o[10] == 'd');
376 1 0 REQUIRE(o[10] == 's');
1 0 REQUIRE(o[10] == 's');
1 0 REQUIRE(o[10] == 's');
1 0 REQUIRE(o[10] == 's');
1 0 REQUIRE(o[10] == 's');
0 0 REQUIRE(o[10] == 's');
0 0 REQUIRE(o[10] == 's');
377 1 0 REQUIRE(o.get() == string_view("hello worls"));
1 0 REQUIRE(o.get() == string_view("hello worls"));
1 0 REQUIRE(o.get() == string_view("hello worls"));
1 0 REQUIRE(o.get() == string_view("hello worls"));
1 0 REQUIRE(o.get() == string_view("hello worls"));
0 0 REQUIRE(o.get() == string_view("hello worls"));
0 0 REQUIRE(o.get() == string_view("hello worls"));
380 99 0 SECTION("at") {
99 0 SECTION("at") {
99 0 SECTION("at") {
99 0 SECTION("at") {
4 95 SECTION("at") {
381 4 0 SECTION("string") {
4 0 SECTION("string") {
4 0 SECTION("string") {
4 0 SECTION("string") {
1 3 SECTION("string") {
382 1 0 Simple o("hello world");
383 1 0 REQUIRE(o.at(0) == 'h');
1 0 REQUIRE(o.at(0) == 'h');
1 0 REQUIRE(o.at(0) == 'h');
1 0 REQUIRE(o.at(0) == 'h');
1 0 REQUIRE(o.at(0) == 'h');
1 0 REQUIRE(o.at(0) == 'h');
0 0 REQUIRE(o.at(0) == 'h');
0 0 REQUIRE(o.at(0) == 'h');
384 1 0 REQUIRE(o.at(10) == 'd');
1 0 REQUIRE(o.at(10) == 'd');
1 0 REQUIRE(o.at(10) == 'd');
1 0 REQUIRE(o.at(10) == 'd');
1 0 REQUIRE(o.at(10) == 'd');
1 0 REQUIRE(o.at(10) == 'd');
0 0 REQUIRE(o.at(10) == 'd');
0 0 REQUIRE(o.at(10) == 'd');
385 1 0 REQUIRE_THROWS(o.at(11));
1 0 REQUIRE_THROWS(o.at(11));
1 0 REQUIRE_THROWS(o.at(11));
0 1 REQUIRE_THROWS(o.at(11));
0 0 REQUIRE_THROWS(o.at(11));
0 0 REQUIRE_THROWS(o.at(11));
1 0 REQUIRE_THROWS(o.at(11));
1 0 REQUIRE_THROWS(o.at(11));
1 0 REQUIRE_THROWS(o.at(11));
387 4 0 SECTION("empty obj") {
4 0 SECTION("empty obj") {
4 0 SECTION("empty obj") {
4 0 SECTION("empty obj") {
1 3 SECTION("empty obj") {
389 1 0 REQUIRE_THROWS(o.at(0));
1 0 REQUIRE_THROWS(o.at(0));
1 0 REQUIRE_THROWS(o.at(0));
0 1 REQUIRE_THROWS(o.at(0));
0 0 REQUIRE_THROWS(o.at(0));
0 0 REQUIRE_THROWS(o.at(0));
1 0 REQUIRE_THROWS(o.at(0));
1 0 REQUIRE_THROWS(o.at(0));
1 0 REQUIRE_THROWS(o.at(0));
391 4 0 SECTION("empty string") {
4 0 SECTION("empty string") {
4 0 SECTION("empty string") {
4 0 SECTION("empty string") {
1 3 SECTION("empty string") {
392 1 0 Simple o("");
393 1 0 REQUIRE_THROWS(o.at(0));
1 0 REQUIRE_THROWS(o.at(0));
1 0 REQUIRE_THROWS(o.at(0));
0 1 REQUIRE_THROWS(o.at(0));
0 0 REQUIRE_THROWS(o.at(0));
0 0 REQUIRE_THROWS(o.at(0));
1 0 REQUIRE_THROWS(o.at(0));
1 0 REQUIRE_THROWS(o.at(0));
1 0 REQUIRE_THROWS(o.at(0));
395 4 0 SECTION("number") {
4 0 SECTION("number") {
4 0 SECTION("number") {
4 0 SECTION("number") {
1 3 SECTION("number") {
396 1 0 Simple o(100);
397 1 0 REQUIRE(o.at(0) == '1');
1 0 REQUIRE(o.at(0) == '1');
1 0 REQUIRE(o.at(0) == '1');
1 0 REQUIRE(o.at(0) == '1');
1 0 REQUIRE(o.at(0) == '1');
1 0 REQUIRE(o.at(0) == '1');
0 0 REQUIRE(o.at(0) == '1');
0 0 REQUIRE(o.at(0) == '1');
400 34 0 }
34 0 }