From 0d40e32a39c1eef9e7ad7238a5c6e34833fe29bf Mon Sep 17 00:00:00 2001 From: Kharec Date: Sat, 6 Dec 2025 11:48:22 +0100 Subject: [PATCH] test: add unit test for part two --- internal/2025/DaySix/code_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/2025/DaySix/code_test.go b/internal/2025/DaySix/code_test.go index b30b739..111ff88 100644 --- a/internal/2025/DaySix/code_test.go +++ b/internal/2025/DaySix/code_test.go @@ -16,3 +16,11 @@ func TestPartOne(t *testing.T) { t.Errorf("PartOne() = %d, want %d", got, expected) } } + +func TestPartTwo(t *testing.T) { + expected := 3263827 + got := PartTwo(testInput) + if got != expected { + t.Errorf("PartTwo() = %d, want %d", got, expected) + } +}