diff options
Diffstat (limited to 'platform/darwin/test/MGLStyleValueTests.m')
-rw-r--r-- | platform/darwin/test/MGLStyleValueTests.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/platform/darwin/test/MGLStyleValueTests.m b/platform/darwin/test/MGLStyleValueTests.m new file mode 100644 index 0000000000..fe6096584d --- /dev/null +++ b/platform/darwin/test/MGLStyleValueTests.m @@ -0,0 +1,13 @@ +#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 |