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 (
|
|
"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, ",")))
|
|
}
|