Skip to content

Commit

Permalink
Go - update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sunilbpandey committed Dec 6, 2023
1 parent 99e4eab commit 760c536
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 2023/tests/aoc2023_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import (
"testing"

"github.com/sunilbpandey/advent-of-code/2023/day01"
"github.com/sunilbpandey/advent-of-code/2023/day02"
"github.com/sunilbpandey/advent-of-code/2023/day03"
"github.com/sunilbpandey/advent-of-code/2023/day04"
)

type ProblemFunc func() string
Expand All @@ -16,6 +19,9 @@ type Problem struct {

var problems = map[int][]Problem{
1: {{day01.Part1, "55172"}, {day01.Part2, "54925"}},
2: {{day02.Part1, "2268"}, {day02.Part2, "63542"}},
3: {{day03.Part1, "535235"}, {day03.Part2, "79844424"}},
4: {{day04.Part1, "24706"}, {day04.Part2, "13114317"}},
}

func TestProblems(t *testing.T) {
Expand Down

0 comments on commit 760c536

Please sign in to comment.