day 1 puzzle 2

This commit is contained in:
2023-12-01 09:41:15 +01:00
parent 0ce0be9a6d
commit ddbddcd743
4 changed files with 80 additions and 1 deletions

View File

@ -2,7 +2,7 @@ package day1
import org.scalatest.funsuite.AnyFunSuite
class Puzzle1Tester extends AnyFunSuite {
class Puzzle1Test extends AnyFunSuite {
test("Puzzle1.loadInput") {
assert(Puzzle1.loadInput("tests_res/day1/input1.txt") == 142)
}

View File

@ -0,0 +1,11 @@
package day1
import org.scalatest.funsuite.AnyFunSuite
class Puzzle2Test extends AnyFunSuite {
test("Puzzle2.loadInput") {
assert(Puzzle2.loadInput("tests_res/day1/input2.txt") == 281)
}
}