Added extra parser tests for the core; in particular, one that asserts instead of throwing

This commit is contained in:
Jesse Beder
2012-06-09 14:26:44 -05:00
parent d5130a4109
commit 2d815c5d6a
3 changed files with 68 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
#include "tests.h"
#include "emittertests.h"
#include "parsertests.h"
#include "spectests.h"
#include "yaml-cpp/yaml.h"
#include <fstream>
@@ -17,6 +18,9 @@ namespace Test
if(!RunSpecTests())
passed = false;
if(!RunParserTests())
passed = false;
if(passed)
std::cout << "All tests passed!\n";