/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/auto/share/dist/Alien-Kiwisolver/include/kiwi/constraint.h | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 12 | 58.3 |
line | true | false | branch |
---|---|---|---|
37 | 3220 | 0 | double strength = strength::required) : m_data(new ConstraintData(expr, op, strength)) {} |
39 | 1100 | 0 | Constraint(const Constraint &other, double strength) : m_data(new ConstraintData(other, strength)) {} |
87 | 6132 | 3220 | for (const auto & term : expr.terms()) |
88 | 6132 | 0 | vars[term.variable()] += term.coefficient(); |
90 | 3220 | 0 | std::vector<Term> terms(vars.begin(), vars.end()); |
108 | 1100 | 0 | m_op(other.op()) {} |