Prove.prove
You're seeing just the macro
prove
, go back to Prove module for more information.
A macro to write simple a simple test shorter.
Code like:
prove identity(5) == 5
prove "check:", identity(7) == 7
is equivalent to:
test "identity(5) == 5" do
assert identity(5) == 5
end
test "check: indentity(7) == 7" do
assert identity(7) == 7
end
prove
supports the operators ==
, !=
, ===
, !==
, <
, <=
, >
, >=
,
and =~
.