2015-11-20 23:16:35 +00:00
|
|
|
/* Copyright 2015 Realm Inc - All Rights Reserved
|
|
|
|
* Proprietary and Confidential
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import <XCTest/XCTest.h>
|
2015-11-30 19:47:32 +00:00
|
|
|
#import <RealmJS/js_init.h>
|
2015-11-20 23:16:35 +00:00
|
|
|
#import "parser.hpp"
|
|
|
|
|
|
|
|
@interface GrammerTests : XCTestCase
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation GrammerTests
|
|
|
|
|
|
|
|
- (void)testGrammer {
|
2015-11-23 16:47:09 +00:00
|
|
|
realm::parser::analyzeGrammar();
|
|
|
|
XCTAssertTrue(realm::parser::testGrammar());
|
2015-11-20 23:16:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|