This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "XSmallTests.h" | |
xsm_given("an integer value") { | |
int v; | |
xsm_when("the value is 42") { | |
v = 42; | |
xsm_then("the value is the answer to the life, the universe, and everything") { | |
XCTAssertEqual(42, v); | |
} |