def test_nist(): assert_equal(nucname.nist(942390), "239Pu") assert_equal(nucname.nist(952421), "242Am") assert_equal(nucname.nist("Pu-239"), "239Pu") assert_equal(nucname.nist(94239), "239Pu") assert_equal(nucname.nist(95642), "242Am") assert_equal(nucname.nist("10000"), "H") assert_equal(nucname.nist("920000"), "U") assert_equal(nucname.nist("940000"), "Pu") assert_equal(nucname.nist(2390940), "239Pu") assert_equal(nucname.nist(2420951), "242Am")