, , "", . , return .
, , , , , .
:
, , , :
- (void)testTwoVectors
{
XCTAssertTrue(vec1.size() == vec2.size(), @"vector size mismatch");
for (int i=0; i<vec1.size(); i++) {
XCTAssertTrue(vec1[i] == vec2[i]);
}
}
, , , , return, , , , , , , .
, , . , , , .
When viewing the test results, sometimes it’s nice to know all the sources of failure, and not just the first ones.
source
share