mirror of
https://github.com/Crocmagnon/advent-of-code.git
synced 2024-11-14 18:53:59 +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))
|
||
|
}
|
||
|
}
|