Skip to content

Commit 4f7adc3

Browse files
committed
chore: proper docstrings for aoc 2025 day 4 testing suite
1 parent e7f0317 commit 4f7adc3

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

_2025/tests/test_04.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
"""Test suite for Advent of Code daily challenge solution.
1+
"""Test suite for Day 4: Printing Department
22
3-
This module contains the test cases for the solution to the Advent of Code
4-
daily puzzle. It uses the TestSolutionUtility to run tests for both parts
5-
of the challenge.
3+
This module contains tests for the Day 4 solution, which analyzes paper roll
4+
grids to determine accessibility and removal order. The tests verify:
65
7-
The template provides a structure for defining tests for a specific day's
8-
solution, ensuring that the implementation meets the expected outputs for
9-
given test inputs.
6+
1. Part 1: Counting initially accessible paper rolls (fewer than 4 neighbors)
7+
2. Part 2: Counting total rolls removable through iterative process
108
"""
119

1210
from aoc.models.tester import TestSolutionUtility
1311

1412

1513
def test_day04_part1() -> None:
16-
"""Test the solution for Part 1 of the daily puzzle.
14+
"""Test counting initially accessible paper rolls.
1715
1816
This test runs the solution for Part 1 of the puzzle against the
1917
provided test input and compares the result with the expected output.
@@ -28,7 +26,7 @@ def test_day04_part1() -> None:
2826

2927

3028
def test_day04_part2() -> None:
31-
"""Test the solution for Part 2 of the daily puzzle.
29+
"""Test counting total removable paper rolls iteratively.
3230
3331
This test runs the solution for Part 2 of the puzzle against the
3432
provided test input and compares the result with the expected output.

0 commit comments

Comments
 (0)