defmodule NavigatorTest do use ExUnit.Case doctest Navigator doctest Parser test "part 1" do {instructions, maps} = Parser.parse_file("input.txt") res = Navigator.count_steps(instructions, maps) IO.puts("Part 1: #{res}") end test "part 2" do {instructions, maps} = Parser.parse_file("input.txt") res = Navigator.count_ghost_steps(instructions, maps) IO.puts("Part 2: #{res}") end end