Skip to content

Commit

Permalink
Update test_core.py to reflect change to default oxidation states
Browse files Browse the repository at this point in the history
  • Loading branch information
AntObi committed Dec 2, 2024
1 parent 7d7459d commit 59bf75c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion smact/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def test_element_dictionary(self):
newlist = ["O", "Rb", "W"]
dictionary = smact.element_dictionary(newlist, TEST_OX_STATES)
self.assertEqual(dictionary["O"].crustal_abundance, 461000.0)
self.assertEqual(dictionary["Rb"].oxidation_states, [-1, 1])
self.assertEqual(dictionary["Rb"].oxidation_states_smact14, [-1, 1])
self.assertEqual(dictionary["Rb"].oxidation_states, [1])
self.assertEqual(dictionary["Rb"].oxidation_states_custom, [-1, 1])
self.assertEqual(dictionary["W"].name, "Tungsten")
self.assertTrue("Rn" in smact.element_dictionary())
Expand Down

0 comments on commit 59bf75c

Please sign in to comment.