2015-11-20 23:16:35 +00:00
|
|
|
/* Copyright 2015 Realm Inc - All Rights Reserved
|
|
|
|
* Proprietary and Confidential
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import <XCTest/XCTest.h>
|
|
|
|
#import <RealmJS/RealmJS.h>
|
|
|
|
#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
|