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

Method getParameters

source/EngineTests/InjectorTests.cpp:13–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11{
12public:
13 static SimulationParameters getParameters()
14 {
15 SimulationParameters result;
16 result.innerFriction = 0;
17 result.baseValues.friction = 1;
18 for (int i = 0; i < MAX_COLORS; ++i) {
19 result.baseValues.radiationCellAgeStrength[i] = 0;
20 result.highRadiationFactor[i] = 0;
21 for (int j = 0; j < MAX_COLORS; ++j) {
22 result.cellFunctionInjectorDurationColorMatrix[i][j] = 3;
23 }
24 }
25 return result;
26 }
27 InjectorTests()
28 : IntegrationTestFramework(getParameters())
29 {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected