From e1bb9d8beb56b5cb61ac88181d6fdf901923f801 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Tue, 2 Dec 2025 07:40:47 -0600 Subject: [PATCH] tests: add right answer --- cmd/01/main_test.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cmd/01/main_test.go b/cmd/01/main_test.go index 67ef371..1e175bb 100644 --- a/cmd/01/main_test.go +++ b/cmd/01/main_test.go @@ -37,16 +37,10 @@ func TestSolvePartTwoWithExampleInput(t *testing.T) { } func TestSolvePartTwoWithInput(t *testing.T) { - expected := -1 - tooLow := 5922 - tooHigh := 5967 + expected := 5937 result := solution.SolvePartTwo("INPUT.txt") - if result <= tooLow || result >= tooHigh { - t.Errorf(`SolvePartTwo("INPUT.txt") = %d; want something between %d and %d`, result, tooLow, tooHigh) - } - if result != expected { t.Errorf(`SolvePartTwo("INPUT.txt") = %d; want %d`, result, expected) }