mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 21:00:31 +01:00
Implement day 5 part 1 in terraform
I'm pretty sure part 2 is impossible
This commit is contained in:
@@ -113,3 +113,20 @@ run "day4" {
|
||||
error_message = "Part2 output is wrong"
|
||||
}
|
||||
}
|
||||
|
||||
run "day5_1" {
|
||||
command = plan
|
||||
|
||||
module {
|
||||
source = "./day05"
|
||||
}
|
||||
|
||||
variables {
|
||||
input = file("../tests/samples/05.txt")
|
||||
}
|
||||
|
||||
assert {
|
||||
condition = output.part1 == 143
|
||||
error_message = "Part1 output is wrong"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user