aoc2024/day-01/solve_internal_test.go

16 lines
190 B
Go
Raw Permalink Normal View History

package dayone
2024-12-01 18:25:08 +00:00
import (
2024-12-02 02:06:26 +00:00
_ "embed"
2024-12-01 18:25:08 +00:00
"os"
"testing"
)
2024-12-02 02:06:26 +00:00
//go:embed testdata/input.txt
var data []byte
2024-12-05 01:36:22 +00:00
func BenchmarkSolve(b *testing.B) {
2024-12-01 18:25:08 +00:00
os.Stdout, _ = os.Open(os.DevNull)
2024-12-02 02:06:26 +00:00
Solve(data)
2024-12-01 18:25:08 +00:00
}