Raises RUNIT::AssertionFailedError if condition is false or nil.
If second argument specified,
raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError if expected != actual.
If third argument specified,
raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError if (expected - actual).abs > eps.
eps should be 0 or greater than 0.
If 4th argument specified,
raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError if expected exception is not raised when block evaluated. If second argument specified, raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError with message string specified by argument.
Raises RUNIT::AssertionFailedError if obj.instance_of?(class) is false.
If third argument specified,
raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError if obj.kind_of?(class) is false.
If third argument specified,
raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError if re !~ str.
If third argument specified,
raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError if re =~ str.
If third argument specified,
raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError if obj is not nil.
If second argument specified,
raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError if the one of the exceptions specified by argument is raised when block is evaluated. If message string specified, raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError if obj is nil.
If second argument specified,
raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError if !obj1.send(op, obj2).
If fourth argument specified,
raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError if obj.respond_to?(method) is false.
If third argument specified,
raises RUNIT::AssertionFailedError with message string.
Raises RUNIT::AssertionFailedError if actual.equal?(expected) is false.
If third argument specified,
raises RUNIT::AssertionFailedError with message string.