Merge pull request #119 from iamvery/sigil-koans

Dass Koans about Sigil
This commit is contained in:
Felipe Seré
2016-05-18 07:32:02 +01:00
14 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
defmodule SigilsTests do
use ExUnit.Case
import TestHarness
test "Sigils" do
answers = [
"This is a string",
~S("Welcome to the jungle", they said.),
true,
"1 + 1 = 2",
~S(1 + 1 = #{1+1}),
["Hello", "world"],
["Hello", "123"],
["Hello", ~S(#{1+1})],
]
test_all(Sigils, answers)
end
end