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

Method getParameters

source/EngineTests/SensorTests.cpp:11–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9{
10public:
11 static SimulationParameters getParameters()
12 {
13 SimulationParameters result;
14 result.innerFriction = 0;
15 result.baseValues.friction = 0;
16 for (int i = 0; i < MAX_COLORS; ++i) {
17 result.baseValues.radiationCellAgeStrength[i] = 0;
18 }
19 return result;
20 }
21 SensorTests()
22 : IntegrationTestFramework(getParameters())
23 {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected