mirror of
https://github.com/thib8956/advent-of-code.git
synced 2026-11-27 00:46:34 +00:00
fix lint
This commit is contained in:
1 parent
0232b9326d
commit
5c3fb89870
50 files changed
+97
-117
No files matched your search
@@ -25,9 +25,7 @@ def test_part2():
|
||||
expected = (2, 966, 50346)
|
||||
for i, inp in enumerate(inputs):
|
||||
result = calculate_fuel_iterative(inp)
|
||||
assert result == expected[i], "Result for {} should be {}, was {}".format(
|
||||
inp, expected[i], result
|
||||
)
|
||||
assert result == expected[i], f"Result for {inp} should be {expected[i]}, was {result}"
|
||||
print("All tests passed for part 2.")
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user