def test_find_used_tie_point_variables_used(self): expression = 'full * tie' to_extend = R._find_used_tie_point_variables_to_extend(self.dic, expression) self.assertEqual(1, len(to_extend)) self.assertEqual("tie", to_extend[0])
def test_find_used_tie_point_variables_none_used(self): expression = 'ody * woody' to_extend = R._find_used_tie_point_variables_to_extend(self.dic, expression) self.assertEqual(0, len(to_extend))