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

Function TEST_F

source/EngineTests/DescriptionHelperTests.cpp:39–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38
39TEST_F(DescriptionHelperTests, correctConnections)
40{
41 auto data = DescriptionEditService::get().createRect(DescriptionEditService::CreateRectParameters().width(10).height(10).center({50.0f, 99.0f}));
42 _simulationFacade->setSimulationData(data);
43 auto clusteredData = _simulationFacade->getClusteredSimulationData();
44
45 DescriptionEditService::get().correctConnections(clusteredData, {100, 100});
46
47 EXPECT_TRUE(areAngelsCorrect(clusteredData));
48}

Callers

nothing calls this directly

Calls 5

createRectMethod · 0.80
correctConnectionsMethod · 0.80
setSimulationDataMethod · 0.45

Tested by

no test coverage detected