Lines Matching refs:tst
150 auto test = [&](const PosTestDesc& tst) {
155 a->setX(tst.xa);
156 a->setY(tst.ya);
157 b->setX(tst.xb);
158 b->setY(tst.yb);
169 SkSVGTextContext::ScopedPosResolver pa(*a, lctx, &tctx, tst.offseta);
170 SkSVGTextContext::ScopedPosResolver pb(*b, lctx, &tctx, tst.offsetb);
172 for (size_t i = 0; i < tst.expected.size(); ++i) {
173 const auto& exp = tst.expected[i];
174 auto pos = i >= tst.offsetb ? pb.resolve(i) : pa.resolve(i);
181 for (const auto& tst : gTests) {
182 test(tst);