| 133 | } |
| 134 | |
| 135 | bool IntegrationTestFramework::compare(DataDescription left, DataDescription right) const |
| 136 | { |
| 137 | std::sort(left.cells.begin(), left.cells.end(), [](auto const& left, auto const& right) { return left.id < right.id; }); |
| 138 | std::sort(right.cells.begin(), right.cells.end(), [](auto const& left, auto const& right) { return left.id < right.id; }); |
| 139 | std::sort(left.particles.begin(), left.particles.end(), [](auto const& left, auto const& right) { return left.id < right.id; }); |
| 140 | std::sort(right.particles.begin(), right.particles.end(), [](auto const& left, auto const& right) { return left.id < right.id; }); |
| 141 | return left == right; |
| 142 | } |
| 143 | |
| 144 | bool IntegrationTestFramework::compare(CellDescription left, CellDescription right) const |
| 145 | { |