humidityTest function
- SampleData data
The test to determine the presence of life based on humidity data.
Implementation
ScienceResult humidityTest(SampleData data) => (data.average! > 20)
? ScienceResult.extant : ScienceResult.notPresent;
The test to determine the presence of life based on humidity data.
ScienceResult humidityTest(SampleData data) => (data.average! > 20)
? ScienceResult.extant : ScienceResult.notPresent;