diff options
Diffstat (limited to 'JuickTests')
-rw-r--r-- | JuickTests/JuickTests.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/JuickTests/JuickTests.m b/JuickTests/JuickTests.m index 475a4f2..bb57f28 100644 --- a/JuickTests/JuickTests.m +++ b/JuickTests/JuickTests.m @@ -28,7 +28,9 @@ - (void)testExample { - XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); + NSNumberFormatter *f = [NSNumberFormatter new]; + f.numberStyle = NSNumberFormatterNoStyle; + XCTAssertEqual(123456, [[f numberFromString:@"123456"] integerValue]); } @end |