| 525 | } |
| 526 | |
| 527 | bool compareTranslateMutation(std::vector<uint8_t> const& before, std::vector<uint8_t> const& after) |
| 528 | { |
| 529 | auto beforeGenome = GenomeDescriptionService::get().convertBytesToDescription(before); |
| 530 | auto afterGenome = GenomeDescriptionService::get().convertBytesToDescription(after); |
| 531 | |
| 532 | std::set<CellGenomeDescription> beforeGenomeRollout; |
| 533 | rollout(beforeGenome, beforeGenomeRollout); |
| 534 | std::set<CellGenomeDescription> afterGenomeRollout; |
| 535 | rollout(afterGenome, afterGenomeRollout); |
| 536 | |
| 537 | return beforeGenomeRollout == afterGenomeRollout; |
| 538 | } |
| 539 | |
| 540 | bool compareCellColorMutation(std::vector<uint8_t> const& before, std::vector<uint8_t> const& after, std::set<int> const& allowedColors) |
| 541 | { |
nothing calls this directly
no test coverage detected