This commit is contained in:
2025-02-14 15:14:03 +00:00
parent a529516bab
commit 759b9c9544
23 changed files with 11146 additions and 6 deletions

View File

@@ -0,0 +1,20 @@
package day22
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestPart1(t *testing.T) {
r := Part1("1")
require.Equal(t, 8685429, r)
}
func TestPart2(t *testing.T) {
r := Part2(`1
2
3
2024`)
require.Equal(t, 23, r)
}