| 16 | }; |
| 17 | |
| 18 | TEST_F(SimulationParametersEditServiceTests, getRadiationStrengths) |
| 19 | { |
| 20 | SimulationParameters parameters; |
| 21 | parameters.numRadiationSources = 2; |
| 22 | parameters.radiationSources[0].strength = 0.3f; |
| 23 | parameters.radiationSources[1].strength = 0.6f; |
| 24 | |
| 25 | auto strengths = SimulationParametersEditService::get().getRadiationStrengths(parameters); |
| 26 | |
| 27 | checkApproxEqual(0.1f, strengths.values[0]); |
| 28 | } |
| 29 | |
| 30 | TEST_F(SimulationParametersEditServiceTests, applyRadiationStrengthValues) |
| 31 | { |
nothing calls this directly
no test coverage detected