Asserts that an expression is true.
- Xcode 8.0+
An expression of boolean type.
An optional description of the failure.
The file in which failure occurred. Defaults to the file name of the test case in which this function was called.
The line number on which failure occurred. Defaults to the line number on which this function was called.
Generates a failure when
expression == false. Equivalent to