Display XCTest class function frequently used
Asserts that two expressions have the same value.
example
// int test true
int age = 23
XCTAssertEqual(age, 23)
// string test true
XCTAssertEqual(@"hogehoge", @"hogehoge");
// string test false
XCTAssertEqual("hogehoge", "hogehoge");
Asserts that two expressions do not have the same value.
Asserts that an expression is true.
example
bool value = boolFunc();
XCTAssertTrue(bool);
Asserts that an expression is nil.
example
NSString* str;
// true
XCTAssertNil(str);
Asserts that an expression is not nil.
This is available in cocos2dx 3.15.1