This commit is contained in:
Gareth
2025-12-03 19:43:14 +00:00
parent 015607cde3
commit 7f6c31c003
8 changed files with 954 additions and 4 deletions

View File

@@ -0,0 +1,23 @@
package day03
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestPart1(t *testing.T) {
r := Part1(`987654321111111
811111111111119
234234234234278
818181911112111`)
assert.Equal(t, 357, r)
}
func TestPart2(t *testing.T) {
r := Part2(`987654321111111
811111111111119
234234234234278
818181911112111`)
assert.Equal(t, 3121910778619, r)
}