aoc21/d1/d1_test.go

26 lines
235 B
Go
Raw Normal View History

2022-02-07 21:59:19 +02:00
package d1
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestD1(t *testing.T) {
input := `
199
200
208
210
200
207
240
269
260
263
`
actual := D1(input)
assert.EqualValues(t, 7, actual)
}