Skip to content

Commit ab6257d

Browse files
committed
Day 14 tests
1 parent d4a2d80 commit ab6257d

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

tests/data/day14/test_01_input.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
p=0,4 v=3,-3
2+
p=6,3 v=-1,-3
3+
p=10,3 v=-1,2
4+
p=2,0 v=2,-1
5+
p=0,0 v=1,3
6+
p=3,0 v=-2,-2
7+
p=7,6 v=-1,-3
8+
p=3,0 v=-1,-2
9+
p=9,3 v=2,3
10+
p=7,3 v=-1,2
11+
p=2,4 v=2,-3
12+
p=9,5 v=-3,-3

tests/test_14.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_day14_part1():
5+
TestSolutionUtility.run_test(
6+
day=14,
7+
is_raw=False,
8+
part_num=1,
9+
expected=12,
10+
)

0 commit comments

Comments
 (0)