Adjust solvers to return integer

This commit is contained in:
Nettika
2023-12-16 16:44:55 -08:00
parent ffa9ebcf53
commit 54271e0a2c
7 changed files with 30 additions and 51 deletions

View File

@@ -107,15 +107,8 @@ mock_input = "\n".join(
def test_solve_pt_1():
assert solve_part_1(mock_input) == "8"
assert solve_part_1(mock_input) == 8
def test_solve_pt_2():
assert solve_part_2(mock_input) == "2286"
# def test_configuration_power():
# assert [
# _configuration_power(Game.parse(game_desc).minimum_configuration())
# for game_desc in mock_input
# ] == [48, 12, 1560, 630, 36]
assert solve_part_2(mock_input) == 2286