This repository has been archived on 2024-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
|
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))
|
|
}
|