[TASK] Day 2, part 1 in Elixir
This commit is contained in:
1 parent
5f4869705c
commit
385c5c4a30
9 files changed
+99
-1
No files matched your search
@@ -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