Files
advent-of-code-2025/cmd/01/main_test.go
T
2025-11-28 07:19:14 -06:00

18 lines
319 B
Go

package main_test
import (
"testing"
solution "github.com/StevanFreeborn/advent-of-code-2025/cmd/01"
)
func TestSolvePartOneWithExampleInput(t *testing.T) {
expected := -1
result := solution.SolvePartOne("EXAMPLE.txt")
if result != expected {
t.Errorf("SolvePartOne() = %d; want %d", result, expected)
}
}