AoC 2015: day3, wrong test function name

Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>
This commit is contained in:
2020-12-08 11:54:41 +01:00
parent 459aaa3d12
commit 8f82d4957b

View File

@@ -46,12 +46,12 @@ def part2(entries: str) -> int:
houses[(pos_x_robot, pos_y_robot)] = houses.get((pos_x_robot, pos_y_robot), 0) + 1 houses[(pos_x_robot, pos_y_robot)] = houses.get((pos_x_robot, pos_y_robot), 0) + 1
return len(houses) return len(houses)
def test_input_day_2(): def test_input_day_3():
"""pytest testing function""" """pytest testing function"""
assert part1(TEST_INPUT) == 2 assert part1(TEST_INPUT) == 2
assert part2(TEST_INPUT) == 11 assert part2(TEST_INPUT) == 11
def test_bench_day_2(benchmark): def test_bench_day_3(benchmark):
"""pytest-benchmark function""" """pytest-benchmark function"""
benchmark(main) benchmark(main)