mirror of
https://github.com/Crocmagnon/advent-of-code.git
synced 2024-11-21 14:08:11 +01:00
25 lines
422 B
Go
25 lines
422 B
Go
package _023
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestDxxPart1(t *testing.T) {
|
|
tests := []testCase{
|
|
{"inputs/dayxx_test1", 0},
|
|
{"inputs/dayxx", 0},
|
|
}
|
|
for _, test := range tests {
|
|
t.Run(test.filename, check(test, DxxPart1))
|
|
}
|
|
}
|
|
|
|
func TestDxxPart2(t *testing.T) {
|
|
tests := []testCase{
|
|
{"inputs/dayxx_test2", 0},
|
|
{"inputs/dayxx", 0},
|
|
}
|
|
for _, test := range tests {
|
|
t.Run(test.filename, check(test, DxxPart2))
|
|
}
|
|
}
|