示例#1
0
 def test_get_atom_mass(self, element, value):
     assert guessers.get_atom_mass(element) == value
示例#2
0
 def test_get_atom_mass():
     assert_(guessers.get_atom_mass('H') == 1.008)
示例#3
0
 def test_get_atom_mass_miss():
     assert_(guessers.get_atom_mass('XYZ') == 0.0)
示例#4
0
 def test_get_atom_mass(self, element, value):
     assert guessers.get_atom_mass(element) == value