diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-01-29 18:41:08 +0100 |
---|---|---|
committer | Aleš Smodiš <aless@guru.si> | 2015-08-11 14:26:01 +0200 |
commit | ae0890f51a2e312f8ce159d34c646af91e762ecf (patch) | |
tree | 10e39fc8ae7f919f960baa302195279d145ec076 /monkey | |
parent | 82b0b605dc1f67f728478781f830eebbbce39d5f (diff) |
Pass auxiliary code to fix in monkey.test
Diffstat (limited to 'monkey')
-rwxr-xr-x | monkey/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monkey/test.py b/monkey/test.py index f8264b0..01caf08 100755 --- a/monkey/test.py +++ b/monkey/test.py @@ -72,7 +72,7 @@ if len(sys.argv) >= 3 and sys.argv[2] == 'test': print(colored('Analyzing program {0}/{1}…'.format(i+1, len(incorrect)), 'yellow')) print(indent(compose(*decompose(program)), 2)) - solution, steps, fix_time, n_tested = fix(problem.name, program, edits, timeout=timeout) + solution, steps, fix_time, n_tested = fix(problem.name, program, edits, aux_code=aux_code, timeout=timeout) if solution: done.append(program) print_hint(solution, steps, fix_time, n_tested) |