Solve day 7
This commit is contained in:
14
07/puzzle_test.py
Normal file
14
07/puzzle_test.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from puzzle import solve
|
||||
|
||||
mock_hand_descriptions = [
|
||||
"32T3K 765",
|
||||
"T55J5 684",
|
||||
"KK677 28",
|
||||
"KTJJT 220",
|
||||
"QQQJA 483",
|
||||
]
|
||||
|
||||
|
||||
def test_solve():
|
||||
assert solve(mock_hand_descriptions, False) == 6440
|
||||
assert solve(mock_hand_descriptions, True) == 5905
|
Reference in New Issue
Block a user