ミラー元
https://github.com/quitesimpleorg/qsmaddy.git
前回の同期 2024-11-24 08:12:37 +01:00
22 行
497 B
C++
22 行
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);
|
||
|
}
|