aoc2024/day-01/solve_internal_test.go

16 lines
188 B
Go
Raw Normal View History

2024-12-02 02:06:26 +00:00
package day01
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-01 18:25:08 +00:00
func BenchmarkMain(b *testing.B) {
os.Stdout, _ = os.Open(os.DevNull)
2024-12-02 02:06:26 +00:00
Solve(data)
2024-12-01 18:25:08 +00:00
}