Split test struct and handler macros out for the emitter/spec tests

This commit is contained in:
Jesse Beder
2012-05-22 22:10:47 -05:00
parent 115101d25d
commit 0fb59c18dd
5 changed files with 63 additions and 14 deletions

View File

@@ -1,3 +1,4 @@
#include "teststruct.h"
#pragma once
#include "yaml-cpp/yaml.h"
@@ -5,8 +6,6 @@
#include <string>
#include <cassert>
#define YAML_ASSERT(cond) do { if(!(cond)) return " Assert failed: " #cond; } while(false)
namespace Test {
std::string Quote(const std::string& text) {
YAML::Emitter out;