Strip out answers from Equalities
This commit is contained in:
@@ -2,22 +2,22 @@ defmodule Equalities do
|
|||||||
use Koans
|
use Koans
|
||||||
|
|
||||||
koan "We shall contemplate truth by testing reality, via equality" do
|
koan "We shall contemplate truth by testing reality, via equality" do
|
||||||
assert true == true
|
assert true == :__
|
||||||
end
|
end
|
||||||
|
|
||||||
koan "To understand reality, we must compare our expectations against reality" do
|
koan "To understand reality, we must compare our expectations against reality" do
|
||||||
assert 2 == 1 + 1
|
assert 2 == 1 + :__
|
||||||
end
|
end
|
||||||
|
|
||||||
koan "Some things may appear different, but be the same" do
|
koan "Some things may appear different, but be the same" do
|
||||||
assert 1 == 2 / 2
|
assert 1 == 2 / :__
|
||||||
end
|
end
|
||||||
|
|
||||||
koan "Something is not equal to nothing" do
|
koan "Something is not equal to nothing" do
|
||||||
assert !(1 == nil)
|
assert !(:__ == nil)
|
||||||
end
|
end
|
||||||
|
|
||||||
koan "When things cannot be equal, they must be different" do
|
koan "When things cannot be equal, they must be different" do
|
||||||
refute :something == 4
|
refute :__ == 4
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user