Information Technology Reference
In-Depth Information
Table 17.1 OCUnit Assert Macros
The macro syntax is unusual compared to standard Objective-C, so it's worth breaking it apart element by ele-
ment. To create a test using the macro, you must include the following:
An
STAssert
macro from the table
A conditional expression to implement the test, which may take multiple parameters