advent_of_code_2024/day_11/solution_test.go

18 lines
301 B
Go
Raw Normal View History

2024-12-11 09:04:55 +00:00
package day_11_test
import (
"advent_of_code_2024/day_11"
_ "embed"
"testing"
)
//go:embed example_data.txt
var ExampleData string
func TestBasicSolutionExample(t *testing.T) {
result := day_11.SolveBasic(ExampleData)
if result != 55312 {
t.Fatalf("Expected 55312 received %d", result)
}
}