Std.Test.equals
1 declaration
fn
equals: Str -> &T -> &T -> Std.Test.CheckThis is a callable function.
What it does
A check that holds when two values are the same.
Both values are rendered when it fails, which is what makes a failure
readable: the reader is shown the difference rather than told there was one.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
