def test_convert_step_type_does_not_change_NOT_SET(self): state = StateCalculateTransmission() state.wavelength_step_type = RangeStepType.NOT_SET self.assertEqual(state.wavelength_step_type_lin_log, RangeStepType.NOT_SET)
def test_convert_step_type_from_RANGE_LOG_to_LOG(self): state = StateCalculateTransmission() state.wavelength_step_type = RangeStepType.RANGE_LOG self.assertEqual(state.wavelength_step_type_lin_log, RangeStepType.LOG)