MCPcopy Create free account
hub / github.com/chrxh/alien / hasConnection

Method hasConnection

source/EngineTests/IntegrationTestFramework.cpp:72–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72bool IntegrationTestFramework::hasConnection(DataDescription const& data, uint64_t id, uint64_t otherId) const
73{
74 auto cell = getCell(data, id);
75 for (auto const& connection : cell.connections) {
76 if (connection.cellId == otherId) {
77 return true;
78 }
79 }
80 return false;
81}
82
83CellDescription IntegrationTestFramework::getOtherCell(DataDescription const& data, uint64_t id) const
84{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected