Skip to content
This repository was archived by the owner on Jun 27, 2020. It is now read-only.

Commit e6061bd

Browse files
committed
added snippets for unit testing methods
1 parent f14e03d commit e6061bd

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

xae.m

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// XCT Assert Equals
2+
// Assert equals for XCTest
3+
//
4+
// Platform: All
5+
// Language: Objective-C
6+
// Completion Scope: Function or Method
7+
8+
XCTAssertEqual(<#expected#>, <#actual#>, <#message#>);

xan.m

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// XCT Assert Nil
2+
// Assert for XCTest
3+
//
4+
// Platform: All
5+
// Language: Objective-C
6+
// Completion Scope: Function or Method
7+
8+
XCTAssertNil(<#expression#>, <#message#>);

xann.m

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// XCT Assert Not Nil
2+
// Assert not nil for XCTest
3+
//
4+
// Platform: All
5+
// Language: Objective-C
6+
// Completion Scope: Function or Method
7+
8+
XCTAssertNotNil(<#expression#>, <#message#>);

xat.m

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// XCT Assert True
2+
// Assert true for XCTest
3+
//
4+
// Platform: All
5+
// Language: Objective-C
6+
// Completion Scope: Function or Method
7+
8+
XCTAssertTrue(<#expression#>, <#message#>);

0 commit comments

Comments
 (0)