blob: 6eb45913d68692a1d6280209c82f93f76a0b81ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#import <XCTest/XCTest.h>
#import <Mapbox/Mapbox.h>
@interface MGLComputedShapeSourceTests : XCTestCase
@end
@implementation MGLComputedShapeSourceTests
- (void)testInitializer {
MGLComputedShapeSource *source = [[MGLComputedShapeSource alloc] initWithIdentifier:@"id" options:@{}];
XCTAssertNotNil(source);
XCTAssertNotNil(source.requestQueue);
XCTAssertNil(source.dataSource);
}
- (void)testNilOptions {
MGLComputedShapeSource *source = [[MGLComputedShapeSource alloc] initWithIdentifier:@"id" options:nil];
XCTAssertNotNil(source);
}
@end
|