1
0
Fork 0
advent-of-code/2021/test/advent_of_code_test.exs
Sloane Perrault a691461882 Setup 2021 (#1)
* chore: scaffold project

* chore: stand up puzzle solver, puzzle case

* feat: solution runner

* feat: solution generator
2022-09-21 09:19:53 -04:00

13 lines
321 B
Elixir

defmodule AdventOfCodeTest do
use ExUnit.Case
import AdventOfCode
describe "solver/1" do
test "returns a module for a solver" do
assert solver("1.1") == AdventOfCode.Day1.Part1
assert solver("2.2") == AdventOfCode.Day2.Part2
assert solver("3.1") == AdventOfCode.Day3.Part1
end
end
end