fix: modify test, we're parsing [][]int instead of []string for this day
This commit is contained in:
@@ -2,11 +2,11 @@ package daythree
|
|||||||
|
|
||||||
import "testing"
|
import "testing"
|
||||||
|
|
||||||
var testInput = []string{
|
var testInput = [][]int{
|
||||||
"987654321111111",
|
{9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 1, 1, 1, 1, 1},
|
||||||
"811111111111119",
|
{8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9},
|
||||||
"234234234234278",
|
{2, 3, 4, 2, 3, 4, 2, 3, 4, 2, 3, 4, 2, 7, 8},
|
||||||
"818181911112111",
|
{8, 1, 8, 1, 8, 1, 9, 1, 1, 1, 1, 2, 1, 1, 1},
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestPartOne(t *testing.T) {
|
func TestPartOne(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user