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