1
0
Fork 0
advent-of-code/2021/test/advent_of_code/day02/part_2_test.exs
Sloane Perrault 4e35ec07be day 2 part 2
2022-09-21 09:19:53 -04:00

16 lines
314 B
Elixir

defmodule AdventOfCode.Day02.Part2Test do
use AdventOfCode.PuzzleCase, module: AdventOfCode.Day02.Part2
test "returns the product of horizontal position and depth" do
input = ~S"""
forward 5
down 5
forward 8
up 3
down 8
forward 2
"""
assert_solution(input, 900)
end
end