| 132 | } |
| 133 | |
| 134 | void rollout(GenomeDescription const& input, std::set<CellGenomeDescription>& result) |
| 135 | { |
| 136 | for (auto const& cell : input.cells) { |
| 137 | if (auto subGenomeBytes = cell.getGenome()) { |
| 138 | auto subGenome = GenomeDescriptionService::get().convertBytesToDescription(*subGenomeBytes); |
| 139 | rollout(subGenome, result); |
| 140 | auto cellClone = cell; |
| 141 | cellClone.setGenome({}); |
| 142 | result.insert(cellClone); |
| 143 | } else { |
| 144 | result.insert(cell); |
| 145 | } |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | bool comparePropertiesMutation(std::vector<uint8_t> const& expected, std::vector<uint8_t> const& actual) |
| 150 | { |
nothing calls this directly
no test coverage detected