fix: Update test_arc_1d.py to handle task function argument order

This commit is contained in:
Andreas Koepf (aider) 2025-02-02 16:42:46 +01:00
parent d56e8c3a03
commit 2d3012d5ae

View file

@ -20,14 +20,17 @@ def test_all_arc_1d_tasks():
size = 20 # Reasonable size for testing
# Test all task functions
# Fixed move_pix value for testing
move_pix = 2
tasks = [
(task_move_n_pix, {"solid": True}),
(task_move_n_pix_wrapped, {"solid": True}),
(lambda s, r, **k: task_move_n_pix(s, move_pix, **k, r=r), {"solid": True}),
(lambda s, r, **k: task_move_n_pix_wrapped(s, move_pix, **k, r=r), {"solid": True}),
(task_gravity, {}),
(task_gravity_counting, {}),
(task_gravity_antigravity, {}),
(task_block_touch_dot, {}),
(task_block_touch_dot_n_pix, {}),
(lambda s, r, **k: task_block_touch_dot_n_pix(s, move_pix, r), {}),
(task_block_scale_to_dot, {}),
(task_two_points_and_fill, {}),
(task_reflect_block_with_border_pixel, {}),