co2Test function

ScienceResult co2Test(
  1. SampleData data
)

The test to determine the presence of life based on CO2 data. The max has to be greater than 10% greater than min for life to exist

Implementation

ScienceResult co2Test(SampleData data) => (data.max! >= (data.min! * 1.1))
	? ScienceResult.extant : ScienceResult.notPresent;