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 {
|
2016-01-19 18:51:43 +00:00
|
|
|
realm::parser::analyze_grammar();
|
|
|
|
XCTAssertTrue(realm::parser::test_grammar());
|
2015-11-20 23:16:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|