advent-of-code/2015-elixir/test/day_07_test.exs
Anders Ytterström 5ed6e5e8ce Solve day 5-6 2015
2022-11-25 12:03:57 +01:00

23 lines
433 B
Elixir

defmodule Day07Test do
use ExUnit.Case
doctest Aoc.Solution.Day07
import Aoc.Solution.Day07
test "parses the input" do
expected = 10
assert parse!("10") == expected
end
test "solves first part" do
a = "something" |> parse!() |> solve_first_part()
assert a == :something
end
test "solves second part" do
a = "something" |> parse!() |> solve_second_part()
assert a == :something
end
end