day1 and 2 done & setup for day3
This commit is contained in:
parent
5053b3cbbd
commit
be09a5df2c
26 changed files with 2520 additions and 2 deletions
11
2021/day3/main_test.go
Normal file
11
2021/day3/main_test.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package main
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestPart1(t *testing.T) {
|
||||
const expected = 198
|
||||
result := Part1()
|
||||
if result != expected {
|
||||
t.Fatalf("Expected: %d Result: %d", expected, result)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue