示例#1
0
def test_mol2_reader(test_input, expected):
    mol = Ligand("acetone.mol2")
    mol.testing = True
    assert getattr(mol, test_input) == expected
示例#2
0
def test_smiles_reader(test_input, expected):
    mol = Ligand("CC(=O)C", "acetone")
    mol.testing = True
    assert getattr(mol, test_input) == expected
示例#3
0
def test_pdb_reader(test_input, expected):
    mol = Ligand('acetone.pdb')
    mol.testing = True
    assert getattr(mol, test_input) == expected