[TASK] Day 2, part 1 in Elixir
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
defmodule Day2Test do
|
||||
use ExUnit.Case
|
||||
doctest Day2
|
||||
|
||||
test "Part 1 example input" do
|
||||
input_file = File.read("input/day2_example.txt")
|
||||
assert Day2.part1(elem(input_file, 1)) == 1227775554
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1 @@
|
||||
ExUnit.start()
|
||||
Reference in New Issue
Block a user