day 1 puzzle 2
This commit is contained in:
@ -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)
|
||||
}
|
11
tests/day1/Puzzle2Test.scala
Normal file
11
tests/day1/Puzzle2Test.scala
Normal 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)
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user