Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bart Louwers <bart@emeel.net>
25 lines
567 B
Objective-C
25 lines
567 B
Objective-C
#import <XCTest/XCTest.h>
|
|
|
|
#import <Mapbox.h>
|
|
|
|
|
|
@interface MLNComputedShapeSourceTests : XCTestCase
|
|
@end
|
|
|
|
@implementation MLNComputedShapeSourceTests
|
|
|
|
- (void)testInitializer {
|
|
MLNComputedShapeSource *source = [[MLNComputedShapeSource alloc] initWithIdentifier:@"id" options:@{}];
|
|
XCTAssertNotNil(source);
|
|
XCTAssertNotNil(source.requestQueue);
|
|
XCTAssertNil(source.dataSource);
|
|
}
|
|
|
|
- (void)testNilOptions {
|
|
MLNComputedShapeSource *source = [[MLNComputedShapeSource alloc] initWithIdentifier:@"id" options:nil];
|
|
XCTAssertNotNil(source);
|
|
}
|
|
|
|
|
|
@end
|