Skip to content

Commit

Permalink
test: update test to match new function return type
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelblijleven committed Dec 13, 2021
1 parent 90838e2 commit 49e1dce
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions tests/year_2021/test_day_13_2021.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,24 +67,24 @@ def test_fold_paper_invalid_instructions():
def test_parse_input():
paper, instructions = parse_input(test_input)
assert paper == {
(0, 3): '#',
(0, 13): '#',
(0, 14): '#',
(1, 10): '#',
(2, 14): '#',
(3, 0): '#',
(3, 4): '#',
(4, 1): '#',
(4, 11): '#',
(6, 0): '#',
(6, 10): '#',
(6, 12): '#',
(8, 4): '#',
(8, 10): '#',
(9, 0): '#',
(9, 10): '#',
(10, 4): '#',
(10, 12): '#'
(0, 3): 1,
(0, 13): 1,
(0, 14): 1,
(1, 10): 1,
(2, 14): 1,
(3, 0): 1,
(3, 4): 1,
(4, 1): 1,
(4, 11): 1,
(6, 0): 1,
(6, 10): 1,
(6, 12): 1,
(8, 4): 1,
(8, 10): 1,
(9, 0): 1,
(9, 10): 1,
(10, 4): 1,
(10, 12): 1
}

assert instructions == [('y', 7), ('x', 5)]
Expand Down

0 comments on commit 49e1dce

Please sign in to comment.