Std.Test.passed
1 declaration
fn
passed: &Std.Test.Report -> BoolThis is a callable function.
What it does
Whether every check held.
A suite with nothing in it holds, because it asserted nothing and nothing it
asserted was wrong. A reader who expected checks to run is told by the count,
which is why the count is reported beside this rather than hidden behind it.
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.
