Create a test file for each of the koan modules
This commit is contained in:
17
test/koans/tasks_koans_test.exs
Normal file
17
test/koans/tasks_koans_test.exs
Normal file
@@ -0,0 +1,17 @@
|
||||
defmodule TasksTests do
|
||||
use ExUnit.Case
|
||||
use TestHarness
|
||||
|
||||
test "Tasks" do
|
||||
answers = [
|
||||
10,
|
||||
:ok,
|
||||
nil,
|
||||
false,
|
||||
9,
|
||||
[1,4,9,16]
|
||||
]
|
||||
|
||||
test_all(Tasks, answers)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user