File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 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
1210from aoc .models .tester import TestSolutionUtility
1311
1412
1513def 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
3028def 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.
You can’t perform that action at this time.
0 commit comments