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