def test_setting_linkage_limit(self): po = ParseOptions() po.linkage_limit = 3 self.assertEqual(clg.parse_options_get_linkage_limit(po._obj), 3)
def test_specifying_parse_options(self): po = ParseOptions(linkage_limit=99) self.assertEqual(clg.parse_options_get_linkage_limit(po._obj), 99)
def test_specifying_parse_options(self): po = ParseOptions(linkage_limit=99) self.assertEqual(clg.parse_options_get_linkage_limit(po._obj), 99)
def test_setting_linkage_limit(self): po = ParseOptions() po.linkage_limit = 3 self.assertEqual(clg.parse_options_get_linkage_limit(po._obj), 3)
def test_specifying_options_when_instantiating_parser(self): p = Parser(linkage_limit=10) self.assertEqual(clg.parse_options_get_linkage_limit(p.parse_options._po), 10)