jlelse
/
aoc21
Archived
1
Fork 0
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.
aoc21/11/main_test.go

18 lines
291 B
Go
Raw Permalink Normal View History

2021-12-11 12:27:55 +00:00
package main
import (
"os"
"strings"
"testing"
"github.com/stretchr/testify/assert"
)
func Test(t *testing.T) {
inputBytes, _ := os.ReadFile("test.txt")
input := strings.Split(string(inputBytes), "\n")
assert.Equal(t, 1656, puzzle1(input))
assert.Equal(t, 195, puzzle2(input))
}