def assert_vararg_map(self, caller_kinds, callee_kinds, expected, vararg_type): result = map_actuals_to_formals( caller_kinds, [], callee_kinds, [], lambda i: vararg_type) assert_equal(result, expected)
def assert_map(self, caller_kinds, callee_kinds, expected): caller_kinds, caller_names = expand_caller_kinds(caller_kinds) callee_kinds, callee_names = expand_callee_kinds(callee_kinds) result = map_actuals_to_formals( caller_kinds, caller_names, callee_kinds, callee_names, lambda i: Any()) assert_equal(result, expected)