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/01/main_test.go

15 lines
279 B
Go

package main
import (
"strings"
"testing"
"github.com/stretchr/testify/assert"
)
func Test(t *testing.T) {
input := `199,200,208,210,200,207,240,269,260,263`
assert.Equal(t, 7, puzzle1(strings.Split(input, ",")))
assert.Equal(t, 5, puzzle2(strings.Split(input, ",")))
}