11 lines
190 B
Go
11 lines
190 B
Go
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)
|
|
}
|
|
}
|