mirror of
https://github.com/RPCS3/yaml-cpp.git
synced 2026-07-20 18:59:17 -04:00
Added extra parser tests for the core; in particular, one that asserts instead of throwing
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user