Cleanup and reorganization

This commit is contained in:
Borna Rajković committed 2024-12-12 22:12:54 +01:00
1 parent 0af5c11e6d
commit 2107b9c990
20 files changed
+158 -215

No files matched your search

View File
Whitespace-only changes.
View File
Whitespace-only changes.
+11
View File
@@ -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
}
+19
View File
@@ -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)
}