1
0
réplica de https://github.com/quitesimpleorg/qsmaddy.git sincronizado 2024-11-22 23:47:51 +01:00
qsmaddy/tests/maddy/test_maddy_parser.cpp
2017-12-25 12:22:35 +01:00

22 linhas
497 B
C++

/*
* This project is licensed under the MIT license. For more information see the
* LICENSE file.
*/
#include "gmock/gmock.h"
#include "maddy/parser.h"
#include "maddy/test_maddy_parser.h"
// -----------------------------------------------------------------------------
TEST(MADDY_PARSER, ItShouldParse)
{
auto parser = std::make_shared<maddy::Parser>();
std::stringstream markdown(testMarkdown);
const std::string output = parser->Parse(markdown);
ASSERT_EQ(testHtml, output);
}