Render captures both the name of an assertion as well as the parameters
to the assertion combinator for pretty-printing.
Makes a new assertion that always succeeds.
Makes a new assertion that requires a given numeric value to match a value with some tolerance.
Makes a new Assertion from a pretty-printing and a function.
Makes a new Assertion from a pretty-printing and a function.
Makes a new Assertion from a pretty-printing and a function, passing
the assertion itself to the specified function, so it can embed a
recursive reference into the assert result.
Makes a new assertion that requires an iterable contain the specified element.
Makes a new assertion that requires a substring to be present.
Makes a new assertion that requires an exit value to die.
Makes a new assertion that requires a given string to end with the specified suffix.
Makes a new assertion that requires a value equal the specified value.
Makes a new assertion that requires a given string to equal another ignoring case
Makes a new assertion that requires an iterable contain one element satisfying the given assertion.
Makes a new assertion that requires an exit value to fail.
Makes a new assertion that requires an iterable contain only elements satisfying the given assertion.
Makes a new assertion that focuses in on a field in a case class.
Makes a new assertion that focuses in on a field in a case class.
hasField("age", _.age, within(0, 10))
Makes a new assertion that requires an Iterable to have the same elements as the specified Iterable, though not necessarily in the same order
Makes a new assertion that requires the size of an iterable be satisfied by the specified assertion.
Makes a new assertion that requires the sum type be a specified term.
Makes a new assertion that requires the sum type be a specified term.
isCase("Some", Some.unapply, anything)
Makes a new assertion that requires an Iterable to be empty.
Makes a new assertion that requires a given string to be empty.
Makes a new assertion that requires a value be true.
Makes a new assertion that requires the numeric value be greater than the specified reference value.
Makes a new assertion that requires the numeric value be greater than or equal to the specified reference value.
Makes a new assertion that requires an exit value to be interrupted.
Makes a new assertion that requires a Left value satisfying a specified assertion.
Makes a new assertion that requires the numeric value be less than the specified reference value.
Makes a new assertion that requires the numeric value be less than or equal to the specified reference value.
Makes a new assertion that requires an Iterable to be non empty.
Makes a new assertion that requires a given string to be non empty
Makes a new assertion that requires a None value.
Makes a new assertion that requires a Right value satisfying a specified assertion.
Makes a new assertion that requires a Some value satisfying the specified assertion.
Makes an assertion that requires a value have the specified type.
Makes an assertion that requires a value have the specified type.
Example:
assert(Duration.fromNanos(1), isSubtype[Duration.Finite](Assertion.anything))
Makes a new assertion that requires a value be true.
Makes a new assertion that requires the value be unit.
Returns a new assertion that requires a numeric value to fall within a specified min and max (inclusive).
Makes a new assertion that requires a given string to match the specified regular expression.
Makes a new assertion that negates the specified assertion.
Makes a new assertion that always fails.
Makes a new assertion that requires a given string to start with a specified prefix
Makes a new assertion that requires an exit value to succeed.
Returns a new assertion that requires the expression to throw.
Returns a new assertion that requires the expression to throw an instance of given type (or its subtype)