mirror of
https://github.com/Crocmagnon/advent-of-code.git
synced 2024-11-24 23:48:13 +01:00
26 lines
422 B
Go
26 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))
|
||
|
}
|
||
|
}
|