blob: bb57f28f04f72c2f4ed768797c3d90da1278e2b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
//
// JuickTests.m
// JuickTests
//
// Created by Vitaly Takmazov on 26.10.13.
// Copyright (c) 2013 com.juick. All rights reserved.
//
#import <XCTest/XCTest.h>
@interface JuickTests : XCTestCase
@end
@implementation JuickTests
- (void)setUp
{
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown
{
// Put teardown code here. This method is called after the invocation of each test method in the class.
[super tearDown];
}
- (void)testExample
{
NSNumberFormatter *f = [NSNumberFormatter new];
f.numberStyle = NSNumberFormatterNoStyle;
XCTAssertEqual(123456, [[f numberFromString:@"123456"] integerValue]);
}
@end
|