Skip to content

Commit 377dcfe

Browse files
committed
Day 13 tests
1 parent edad87f commit 377dcfe

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

tests/data/day13/test_01_input.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Button A: X+94, Y+34
2+
Button B: X+22, Y+67
3+
Prize: X=8400, Y=5400
4+
5+
Button A: X+26, Y+66
6+
Button B: X+67, Y+21
7+
Prize: X=12748, Y=12176
8+
9+
Button A: X+17, Y+86
10+
Button B: X+84, Y+37
11+
Prize: X=7870, Y=6450
12+
13+
Button A: X+69, Y+23
14+
Button B: X+27, Y+71
15+
Prize: X=18641, Y=10279

tests/test_13.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from aoc.models.tester import TestSolutionUtility
2+
3+
4+
def test_day13_part1():
5+
TestSolutionUtility.run_test(
6+
day=13,
7+
is_raw=False,
8+
part_num=1,
9+
expected=480,
10+
)

0 commit comments

Comments
 (0)