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

16 lines
314 B
Elixir

defmodule AdventOfCode.Day02.Part1Test do
use AdventOfCode.PuzzleCase, module: AdventOfCode.Day02.Part1
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, 150)
end
end