def test_current_form(): assert_equal(nucname.current_form(922380), "zzaaam") assert_equal(nucname.current_form("922350"), "zzaaam") assert_equal(nucname.current_form("U235"), "name") assert_equal(nucname.current_form("h-004"), "name") assert_equal(nucname.current_form(92238), "MCNP") assert_equal(nucname.current_form("92235"), "MCNP")
def test_J(): assert_not_equal(len(rmg.J), 0) for iso in rmg.J: assert_equal(nucname.current_form(iso), 'zzaaam')