| 61 | using JobDataSet = QVector<JobData>; |
| 62 | |
| 63 | int expectedTotal(JobDataSet::const_iterator first, JobDataSet::const_iterator last) |
| 64 | { |
| 65 | return std::accumulate(first, last, 0, |
| 66 | [](int total, JobData job) { |
| 67 | return total + job.summand; |
| 68 | }); |
| 69 | } |
| 70 | |
| 71 | int expectedTotal(const JobDataSet &jobs) |
| 72 | { |
no outgoing calls
no test coverage detected