Files
MapLibreParticleLab/platform/ios/test/MLNNSOrthographyAdditionsTests.m
mwilsnd 20d9e1028c Platform flattening overhaul (#1393)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-07-26 17:50:34 +02:00

20 lines
561 B
Objective-C

#import <XCTest/XCTest.h>
#import "NSOrthography+MLNAdditions.h"
#import "MLNVectorTileSource_Private.h"
@interface MLNNSOrthographyAdditionsTests : XCTestCase
@end
@implementation MLNNSOrthographyAdditionsTests
- (void)testStreetsLanguages {
for (NSString *language in [MLNVectorTileSource mapboxStreetsLanguages]) {
NSString *dominantScript = [NSOrthography mgl_dominantScriptForMapboxStreetsLanguage:language];
XCTAssertNotEqualObjects(dominantScript, @"Zyyy", @"Mapbox Streets languages should have dominant script");
}
}
@end