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) }