first commit

This commit is contained in:
Chang CL
2025-08-24 17:03:19 +08:00
parent 2921a744c1
commit d9ed6dec0f
3 changed files with 13 additions and 13 deletions

View File

@@ -5,15 +5,15 @@ defmodule Strings do
@intro "Strings"
koan "Strings are there to represent text" do
assert "hello" == ___
assert "hello" == "hello"
end
koan "Values may be inserted into strings by interpolation" do
assert "1 + 1 = #{1 + 1}" == ___
assert "1 + 1 = #{1 + 1}" == "1 + 1 = 2"
end
koan "They can be put together" do
assert "hello world" == ___ <> "world"
assert "hello world" == "hello " <> "world"
end
koan "Or pulled apart into a list when needed" do