Checks a boolean condition for truth, throwing an exception when it fails.
The components making up the exception string are passed lazily.
The message has the form: "test failed {left} [because reason] {right}"
For instance: "test failed: expected got.empty() because there should be nothing in there, but got [5]."
In that case, left is ": expected got.empty()" and right is "but got [5]".
Checks a boolean condition for truth, throwing an exception when it fails. The components making up the exception string are passed lazily. The message has the form: "test failed {left} [because reason] {right}" For instance: "test failed: expected got.empty() because there should be nothing in there, but got [5]." In that case, left is ": expected got.empty()" and right is "but got [5]".