We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5b2cdb commit 37ca456Copy full SHA for 37ca456
test/rmgpy/data/thermoTest.py
@@ -2102,11 +2102,11 @@ def test_is_bicyclic1(self):
2102
The test molecule is bicyclic, we expect is_bicyclic()
2103
returns True.
2104
"""
2105
- smiles = "C1=CCC2C1=C2"
2106
- mol = Molecule().from_smiles(smiles)
2107
- polyring = mol.get_disparate_cycles()[1][0]
2108
-
2109
- assert is_bicyclic(polyring)
+ for smiles in ["C1=CCC2C1=C2", "C1=CC2C=CC1=CC2", "C1=CC2C=CC=1C=C2"]:
+ mol = Molecule().from_smiles(smiles)
+ polyrings = mol.get_disparate_cycles()[1]
+ assert len(polyrings) == 1
+ assert is_bicyclic(polyrings[0])
2110
2111
def test_is_bicyclic2(self):
2112
0 commit comments