[TASK] Day 2 part 2
This commit is contained in:
@@ -4,6 +4,11 @@ defmodule Day2Test do
|
||||
|
||||
test "Part 1 example input" do
|
||||
input_file = File.read("input/day2_example.txt")
|
||||
assert Day2.part1(elem(input_file, 1)) == 1227775554
|
||||
assert Day2.part1(elem(input_file, 1)) == 1_227_775_554
|
||||
end
|
||||
|
||||
test "Part 2 example input" do
|
||||
input_file = File.read("input/day2_example.txt")
|
||||
assert Day2.part2(elem(input_file, 1)) == 4_174_379_265
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user