Update things
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package be.vandewalleh.aoc.days
|
||||
|
||||
import be.vandewalleh.aoc.utils.factory.createDay
|
||||
import be.vandewalleh.aoc.utils.input.Input
|
||||
import org.assertj.core.api.Assertions.assertThat
|
||||
import org.junit.jupiter.api.Assertions
|
||||
import org.junit.jupiter.api.Nested
|
||||
@@ -26,7 +25,6 @@ class Day04Test {
|
||||
hcl:#cfa07d eyr:2025 pid:166559648
|
||||
iyr:2011 ecl:brn hgt:59in
|
||||
""".trimIndent()
|
||||
.let { Input(it) }
|
||||
|
||||
private val day04 = Day04(example)
|
||||
|
||||
@@ -63,7 +61,7 @@ class Day04Test {
|
||||
hgt:59cm ecl:zzz
|
||||
eyr:2038 hcl:74454a iyr:2023
|
||||
pid:3556412378 byr:2007
|
||||
""".trimIndent().let { Input(it) }
|
||||
""".trimIndent()
|
||||
|
||||
assertThat(Day04(input).part2()).isEqualTo(0)
|
||||
}
|
||||
@@ -83,7 +81,7 @@ class Day04Test {
|
||||
eyr:2022
|
||||
|
||||
iyr:2010 hgt:158cm hcl:#b6652a ecl:blu byr:1944 eyr:2021 pid:093154719
|
||||
""".trimIndent().let { Input(it) }
|
||||
""".trimIndent()
|
||||
|
||||
assertThat(Day04(input).part2()).isEqualTo(4)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user