def test_murcko_next(mol):
    scf = get_murcko_scaffold(mol)
    frags_1 = get_next_murcko_fragments(scf, break_fused_rings=True)
    frags_1 = {Chem.MolToSmiles(x) for x in frags_1}
    assert (len(frags_1) == 2)
    frags_2 = get_next_murcko_fragments(scf, break_fused_rings=False)
    frags_2 = {Chem.MolToSmiles(x) for x in frags_2}
    assert (len(frags_2) == 2)
    assert (len(frags_1.intersection(frags_2)) == 1)
def test_murcko_next(mol):
    scf = get_murcko_scaffold(mol)
    frags_1 = get_next_murcko_fragments(scf, break_fused_rings=True)
    frags_1 = {Chem.MolToSmiles(x) for x in frags_1}
    assert (len(frags_1) == 2)
    frags_2 = get_next_murcko_fragments(scf, break_fused_rings=False)
    frags_2 = {Chem.MolToSmiles(x) for x in frags_2}
    assert (len(frags_2) == 2)
    assert (len(frags_1.intersection(frags_2)) == 1)