temperatureTest function

ScienceResult temperatureTest(
  1. SampleData data
)

The test to determine the presence of life based on temperature data.

Implementation

ScienceResult temperatureTest(SampleData data) => (data.average! > -15 && data.average! < 122)
	? ScienceResult.extant : ScienceResult.notPresent;