From 8f82d4957b2252e96d4ad17e24150b9023492561 Mon Sep 17 00:00:00 2001 From: Ettore Dreucci Date: Tue, 8 Dec 2020 11:54:41 +0100 Subject: [PATCH] AoC 2015: day3, wrong test function name Signed-off-by: Ettore Dreucci --- 2015-python/solutions/day_3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2015-python/solutions/day_3.py b/2015-python/solutions/day_3.py index ca45910..f00dbf2 100644 --- a/2015-python/solutions/day_3.py +++ b/2015-python/solutions/day_3.py @@ -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 return len(houses) -def test_input_day_2(): +def test_input_day_3(): """pytest testing function""" assert part1(TEST_INPUT) == 2 assert part2(TEST_INPUT) == 11 -def test_bench_day_2(benchmark): +def test_bench_day_3(benchmark): """pytest-benchmark function""" benchmark(main)