Пример #1
0
 def test_dict(self):
     fe = Element("Fe")
     d = fe.as_dict()
     self.assertEqual(fe, Element.from_dict(d))
Пример #2
0
 def test_dict(self):
     fe = Element("Fe")
     d = fe.as_dict()
     self.assertEqual(fe, Element.from_dict(d))