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

Method getCellById

source/EngineTests/IntegrationTestFramework.cpp:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42std::unordered_map<uint64_t, CellDescription> IntegrationTestFramework::getCellById(DataDescription const& data) const
43{
44 std::unordered_map<uint64_t, CellDescription> result;
45 for(auto const& cell : data.cells) {
46 result.emplace(cell.id, cell);
47 }
48 return result;
49}
50
51CellDescription IntegrationTestFramework::getCell(DataDescription const& data, uint64_t id) const
52{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected