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

15 lines
315 B
Go

package main
import (
"strings"
"testing"
"github.com/stretchr/testify/assert"
)
func Test(t *testing.T) {
input := `00100,11110,10110,10111,10101,01111,00111,11100,10000,11001,00010,01010`
assert.Equal(t, 198, puzzle1(strings.Split(input, ",")))
assert.Equal(t, 230, puzzle2(strings.Split(input, ",")))
}