def test_create_ion_element_name(): ion = fiasco.IonBase('hydrogen 1') assert ion.element_name == 'hydrogen' assert ion.atomic_symbol == 'H' assert ion.atomic_number == 1 assert ion.ionization_stage == 1 assert ion.charge_state == 0 assert ion._ion_name == 'h_1'
def ionbase(): return fiasco.IonBase('fe 5')