26 lines
488 B
C++
26 lines
488 B
C++
/**
|
|
* @author Edouard DUPIN
|
|
*
|
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
|
*
|
|
* @license APACHE v2.0 (see license file)
|
|
*/
|
|
|
|
|
|
#ifndef __EJSON_TEST_DOCUMENT_H__
|
|
#define __EJSON_TEST_DOCUMENT_H__
|
|
|
|
#include "testCommon.h"
|
|
#include <gtest/gtest.h>
|
|
|
|
static std::string refOutputDocument("{\n}\n");
|
|
TEST(TestDocument, testEmptyDoc) {
|
|
localTest(refOutputDocument, "{}\n", -1);
|
|
}
|
|
|
|
TEST(TestDocument, testTabbedDoc) {
|
|
localTest(refOutputDocument, "{ \t\r }\n", -1);
|
|
}
|
|
|
|
|
|
#endif |