feat: solved day 11 part 2
This commit is contained in:
+1
-24
@@ -1,7 +1,6 @@
|
||||
package main_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
solution "github.com/StevanFreeborn/advent-of-code-2025/cmd/11"
|
||||
@@ -38,9 +37,7 @@ func TestSolvePartTwoWithExampleInput(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestSolvePartTwoWithInput(t *testing.T) {
|
||||
expected := -1
|
||||
|
||||
fmt.Println("HERE")
|
||||
expected := 393_474_305_030_400
|
||||
|
||||
result := solution.SolvePartTwo("INPUT.txt")
|
||||
|
||||
@@ -48,23 +45,3 @@ func TestSolvePartTwoWithInput(t *testing.T) {
|
||||
t.Errorf("SolvePartTwo(INPUT.txt) = %d; want %d", result, expected)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSolvePartTwoAgainWithExampleInput(t *testing.T) {
|
||||
expected := 2
|
||||
|
||||
result := solution.SolvePartTwoAgain("EXAMPLE_TWO.txt")
|
||||
|
||||
if result != expected {
|
||||
t.Errorf("SolvePartTwoAgain(EXAMPLE_TWO.txt) = %d; want %d", result, expected)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSolvePartTwoAgainWithInput(t *testing.T) {
|
||||
expected := -1
|
||||
|
||||
result := solution.SolvePartTwoAgain("INPUT.txt")
|
||||
|
||||
if result != expected {
|
||||
t.Errorf("SolvePartTwoAgain(INPUT.txt) = %d; want %d", result, expected)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user