def setUpClass(cls): cls.mol1 = Molecule.from_file(os.path.join(test_dir, "Si2O_cluster.xyz")) cls.mm = BruteForceOrderMatcher(cls.mol1)
def test_to_and_from_dict(self): d = self.mm.as_dict() mm = BruteForceOrderMatcher.from_dict(d) self.assertDictEqual(d, mm.as_dict())