Merge pull request #92 from iamvery/update-koans

Update various koans
This commit is contained in:
Uku Taht
2016-05-04 09:49:48 +01:00
5 changed files with 39 additions and 14 deletions

View File

@@ -14,6 +14,7 @@ defmodule FunctionsTests do
6,
6,
100,
1000,
"Full Name",
]

View File

@@ -4,6 +4,7 @@ defmodule PatternsTests do
test "Pattern Matching" do
answers = [
1,
1,
2,
2,
@@ -12,11 +13,13 @@ defmodule PatternsTests do
3,
"eggs, milk",
"Honda",
MatchError,
[1,2,3],
{:multiple, ["Meow", "Woof", "Eh?"]},
{:multiple, ["Mickey", "Donald", "I need a name!"]},
"dog",
"Max",
"Max",
]
test_all(PatternMatching, answers)