feat: solve day 10 part one
This commit is contained in:
+12
-2
@@ -6,8 +6,8 @@ import (
|
||||
solution "github.com/StevanFreeborn/advent-of-code-2025/cmd/10"
|
||||
)
|
||||
|
||||
func TestSolvePartOne(t *testing.T) {
|
||||
expected := -1
|
||||
func TestSolvePartOneWithExampleInput(t *testing.T) {
|
||||
expected := 7
|
||||
|
||||
result := solution.SolvePartOne("EXAMPLE.txt")
|
||||
|
||||
@@ -15,3 +15,13 @@ func TestSolvePartOne(t *testing.T) {
|
||||
t.Errorf("got %d but wanted %d", result, expected)
|
||||
}
|
||||
}
|
||||
|
||||
func TestSolvePartOneWithInput(t *testing.T) {
|
||||
expected := -1
|
||||
|
||||
result := solution.SolvePartOne("INPUT.txt")
|
||||
|
||||
if result != expected {
|
||||
t.Errorf("got %d but wanted %d", result, expected)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user