def test_arrhenius_2_is_maximum_for_vcmax_at_39_degrees_celsius(): value_at_low_temperature = exchange.arrhenius_2( 'Vcmax', 0.0, exchange.par_photo_default()) value_at_optimal_temperature = exchange.arrhenius_2( 'Vcmax', 39.0, exchange.par_photo_default()) value_at_high_temperature = exchange.arrhenius_2( 'Vcmax', 50.0, exchange.par_photo_default()) assert all([ value_at_optimal_temperature > val for val in (value_at_low_temperature, value_at_high_temperature) ])
def test_arrhenius_2_is_maximum_for_jmax_at_37_degrees_celsius(): value_at_low_temperature = exchange.arrhenius_2( 'Jmax', 0.0, setup_default_photosynthesis_params()) value_at_optimal_temperature = exchange.arrhenius_2( 'Jmax', 37.0, setup_default_photosynthesis_params()) value_at_high_temperature = exchange.arrhenius_2( 'Jmax', 50.0, setup_default_photosynthesis_params()) assert all([ value_at_optimal_temperature > val for val in (value_at_low_temperature, value_at_high_temperature) ])