def test_constructors(self):
atom1 = mastmol.Atom(coords=self.coords, atom_type=self.MockAtomType)
atom2 = self.MockAtomType.to_atom(self.coords)
npt.assert_array_almost_equal(atom1.coords, atom2.coords)
self.assertEqual(atom1.atom_type, atom2.atom_type)
评论列表
文章目录