Files
MapLibreParticleLab/platform/darwin/test/MGLStyleValueTests.m
Fredrik Karlsson 508f020eb5 Prevent stopless functions (#7309)
* [ios, macos] prevent stopless functions

* [ios, macos] removed unused bridging header and fixed naming
2016-12-07 17:19:15 +01:00

14 lines
348 B
Objective-C

#import <XCTest/XCTest.h>
#import <Mapbox/Mapbox.h>
@interface MGLStyleValueTests : XCTestCase
@end
@implementation MGLStyleValueTests
- (void)testStoplessFunction {
XCTAssertThrowsSpecificNamed([MGLStyleValue<NSNumber *> valueWithStops:@{}], NSException, NSInvalidArgumentException, @"Stopless function should raise an exception");
}
@end