Files
elixir-koans/lib/koans/01_equalities.ex
2016-04-18 13:31:32 +01:00

32 lines
646 B
Elixir

defmodule Equalities do
use Koans
koan "We shall contemplate truth by testing reality, via equality" do
assert true == :__
end
koan "Not something is the opposite of it" do
assert !true == :__
end
koan "To understand reality, we must compare our expectations against reality" do
assert 2 == 1 + :__
end
koan "Some things may appear different, but be the same" do
assert 1 == 2 / :__
end
koan "Unless they actually are different" do
assert 3.2 != :__
end
koan "Some may be looking for bigger things" do
assert :__ > 3
end
koan "Others are happy with less" do
assert :__ < 3
end
end