2022-09-21 09:19:53 -04:00
|
|
|
defmodule AdventOfCode.Day01.Part2Test do
|
|
|
|
use AdventOfCode.PuzzleCase, module: AdventOfCode.Day01.Part2
|
|
|
|
|
|
|
|
test "returns :ok" do
|
|
|
|
input = ~S"""
|
2022-09-21 09:19:53 -04:00
|
|
|
199
|
|
|
|
200
|
|
|
|
208
|
|
|
|
210
|
|
|
|
200
|
|
|
|
207
|
|
|
|
240
|
|
|
|
269
|
|
|
|
260
|
|
|
|
263
|
2022-09-21 09:19:53 -04:00
|
|
|
"""
|
|
|
|
|
2022-09-21 09:19:53 -04:00
|
|
|
assert_solution(input, 5)
|
2022-09-21 09:19:53 -04:00
|
|
|
end
|
2022-09-21 09:19:53 -04:00
|
|
|
end
|
|
|
|
|