package d11 import ( "testing" "github.com/stretchr/testify/assert" ) func TestP1(t *testing.T) { input := `5483143223 2745854711 5264556173 6141336146 6357385478 4167524645 2176841721 6882881134 4846848554 5283751526` assert.EqualValues(t, 1656, P1(input)) } func TestP2(t *testing.T) { input := `5483143223 2745854711 5264556173 6141336146 6357385478 4167524645 2176841721 6882881134 4846848554 5283751526` assert.EqualValues(t, 195, P2(input)) }