advent-of-code/2015-elixir/test/day_07_test.exs

24 lines
433 B
Elixir
Raw Normal View History

2021-11-04 08:52:41 +01:00
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