summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/Juick.xcscheme12
-rw-r--r--JuickTests/JuickTests.m4
2 files changed, 14 insertions, 2 deletions
diff --git a/Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/Juick.xcscheme b/Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/Juick.xcscheme
index f656d02..f10319e 100644
--- a/Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/Juick.xcscheme
+++ b/Juick.xcodeproj/xcuserdata/vt.xcuserdatad/xcschemes/Juick.xcscheme
@@ -7,7 +7,7 @@
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
- buildForTesting = "NO"
+ buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
@@ -29,6 +29,16 @@
language = ""
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
+ <TestableReference
+ skipped = "NO">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "77317BCB181BBE8500D60005"
+ BuildableName = "JuickTests.xctest"
+ BlueprintName = "JuickTests"
+ ReferencedContainer = "container:Juick.xcodeproj">
+ </BuildableReference>
+ </TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
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