AoC 2020: day6 and day7, added day_# to test function names

Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>
This commit is contained in:
2020-12-07 11:33:57 +01:00
parent be73acf00d
commit 75ef64c796
2 changed files with 4 additions and 6 deletions

View File

@@ -49,13 +49,13 @@ def part2(entries: list) -> int:
count += 1
return count
def test_input():
def test_input_day_6():
"""pytest testing function"""
entries = extract(TEST_INPUT)
assert part1(entries) == 11
assert part2(entries) == 6
def test_bench(benchmark):
def test_bench_day_6(benchmark):
"""pytest-benchmark function"""
benchmark(main)