def test_gen_prefixes(self): prefixes = R.gen_prefixes([F_bra_close("Al(OH)3")]) self.assertEquals(prefixes[-1].prefix, "AlOH)3")
def test_gen_prefixes(self): prefixes = R.gen_prefixes([F_plain("Al(OH)3")]) self.assertEquals(prefixes[-1].prefix, "Al(OH)3")