mirror of
https://github.com/onyx-and-iris/aoc2024.git
synced 2025-01-07 14:10:49 +00:00
22 lines
339 B
Go
22 lines
339 B
Go
package eighteen
|
|
|
|
import (
|
|
_ "embed"
|
|
"os"
|
|
"testing"
|
|
|
|
"github.com/onyx-and-iris/aoc2024/day-18/internal/config"
|
|
)
|
|
|
|
//go:embed testdata/input.txt
|
|
var data []byte
|
|
|
|
func BenchmarkSolve(b *testing.B) {
|
|
os.Stdout, _ = os.Open(os.DevNull)
|
|
Solve(data, config.Config{
|
|
Width: 71,
|
|
Height: 71,
|
|
NumCorruptions: 1024,
|
|
})
|
|
}
|