Cleanup and reorganization
This commit is contained in:
1 parent
0af5c11e6d
commit
2107b9c990
20 files changed
+158
-215
No files matched your search
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,11 @@
|
||||
package example
|
||||
|
||||
// task:https://adventofcode.com/2024/day/13
|
||||
func SolveBasic(input string) int {
|
||||
return 0
|
||||
}
|
||||
|
||||
// task:https://adventofcode.com/2024/day/12#part2
|
||||
func SolveComplex(input string) int {
|
||||
return 0
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package example_test
|
||||
|
||||
import (
|
||||
"advent_of_code_2024/example"
|
||||
"advent_of_code_2024/helpers"
|
||||
_ "embed"
|
||||
"testing"
|
||||
)
|
||||
|
||||
//go:embed example_data.txt
|
||||
var ExampleData string
|
||||
|
||||
func TestBasicSolutionExample(t *testing.T) {
|
||||
helpers.Check(t, example.SolveBasic, helpers.Format(ExampleData), 0)
|
||||
}
|
||||
|
||||
func TestComplexSolutionExample(t *testing.T) {
|
||||
helpers.Check(t, example.SolveComplex, helpers.Format(ExampleData), 0)
|
||||
}
|
||||
Reference in new issue
Block a user