Skip to content

Commit

Permalink
added snippets for unit testing methods
Browse files Browse the repository at this point in the history
  • Loading branch information
shadyproject committed Oct 10, 2013
1 parent f14e03d commit e6061bd
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions xae.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// XCT Assert Equals
// Assert equals for XCTest
//
// Platform: All
// Language: Objective-C
// Completion Scope: Function or Method

XCTAssertEqual(<#expected#>, <#actual#>, <#message#>);
8 changes: 8 additions & 0 deletions xan.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// XCT Assert Nil
// Assert for XCTest
//
// Platform: All
// Language: Objective-C
// Completion Scope: Function or Method

XCTAssertNil(<#expression#>, <#message#>);
8 changes: 8 additions & 0 deletions xann.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// XCT Assert Not Nil
// Assert not nil for XCTest
//
// Platform: All
// Language: Objective-C
// Completion Scope: Function or Method

XCTAssertNotNil(<#expression#>, <#message#>);
8 changes: 8 additions & 0 deletions xat.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// XCT Assert True
// Assert true for XCTest
//
// Platform: All
// Language: Objective-C
// Completion Scope: Function or Method

XCTAssertTrue(<#expression#>, <#message#>);

0 comments on commit e6061bd

Please sign in to comment.