re-organise repo

This commit is contained in:
2023-11-16 10:48:53 +00:00
parent f62c52d8a9
commit f133e157a1
87 changed files with 11792 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
package day01
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestPart1(t *testing.T) {
r := Part1(`1000
2000
3000
4000
5000
6000
7000
8000
9000
10000`)
assert.Equal(t, 24000, r)
}
func TestPart2(t *testing.T) {
r := Part2(`1000
2000
3000
4000
5000
6000
7000
8000
9000
10000`)
assert.Equal(t, 45000, r)
}