You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package main |
|
|
|
import ( |
|
"os" |
|
"testing" |
|
|
|
"github.com/stretchr/testify/assert" |
|
) |
|
|
|
func Test(t *testing.T) { |
|
inputBytes, _ := os.ReadFile("test.txt") |
|
input := string(inputBytes) |
|
|
|
assert.Equal(t, 37, puzzle1(input)) |
|
assert.Equal(t, 168, puzzle2(input)) |
|
}
|
|
|