Extracts modules for different sections of the UI

This commit is contained in:
Felipe Sere
2016-05-13 11:03:53 +01:00
parent 8a8a0be771
commit af543d1b62
8 changed files with 141 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
defmodule IntroTest do
use ExUnit.Case
alias Display.Intro
test "module not visited yet" do
assert Intro.intro(SampleKoan, []) == "\e[32mThere is something\n\n\e[0m"
end
test "module has been visited" do
assert Intro.intro(SampleKoan, [SampleKoan]) == ""
end
end