Skip to content

Commit 24581ca

Browse files
test: add 2015 day 22 tests
1 parent abfb726 commit 24581ca

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from adventofcode.year_2015.day_22_2015 import fight
2+
3+
4+
def test_part_one():
5+
assert fight(50, 500, 58, 9, False) == 1269
6+
7+
8+
def test_part_two():
9+
assert fight(50, 500, 58, 9, True) == 1309

0 commit comments

Comments
 (0)