18 lines
295 B
Go
18 lines
295 B
Go
package main_test
|
|||
|
|
|
||
|
|
import (
|
||
|
|
"testing"
|
||
|
|
|
||
|
|
solution "github.com/StevanFreeborn/advent-of-code-2025/cmd/12"
|
||
|
|
)
|
||
|
|
|
||
|
|
func TestSolvePartOne(t *testing.T) {
|
||
|
|
expected := -1
|
||
|
|
|
||
|
|
result := solution.SolvePartOne("EXAMPLE.txt")
|
||
|
|
|
||
|
|
if result != expected {
|
||
|
|
t.Errorf("got %d but wanted %d", result, expected)
|
||
|
|
}
|
||
|
|
}
|