def test_mol2_reader(test_input, expected): mol = Ligand("acetone.mol2") mol.testing = True assert getattr(mol, test_input) == expected
def test_smiles_reader(test_input, expected): mol = Ligand("CC(=O)C", "acetone") mol.testing = True assert getattr(mol, test_input) == expected
def test_pdb_reader(test_input, expected): mol = Ligand('acetone.pdb') mol.testing = True assert getattr(mol, test_input) == expected