Create a test file for each of the koan modules
This commit is contained in:
23
test/koans/processes_koans_test.exs
Normal file
23
test/koans/processes_koans_test.exs
Normal file
@@ -0,0 +1,23 @@
|
||||
defmodule ProcessesTests do
|
||||
use ExUnit.Case
|
||||
use TestHarness
|
||||
|
||||
test "Processes" do
|
||||
answers = [
|
||||
true,
|
||||
:running,
|
||||
"hola!",
|
||||
:how_are_you?,
|
||||
{:waited_too_long, "I am inpatient"},
|
||||
false,
|
||||
{:multiple, [true, false]},
|
||||
{:exited, :random_reason},
|
||||
true,
|
||||
false,
|
||||
{:exited, :normal},
|
||||
{:exited, :normal}
|
||||
]
|
||||
|
||||
test_all(Processes, answers)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user