This commit is contained in:
Gareth
2025-01-20 17:32:23 +00:00
parent 225d74acf9
commit ba588cbc77
4 changed files with 159 additions and 4 deletions

View File

@@ -0,0 +1,25 @@
package day21
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestPart1(t *testing.T) {
r := Part1(`029A
980A
179A
456A
379A`)
assert.Equal(t, 126384, r)
}
func TestPart2(t *testing.T) {
r := Part2(`029A
980A
179A
456A
379A`)
assert.Equal(t, 126384, r)
}