1 /// Unit tests for simple markdown parser
2 #define BOOST_TEST_MODULE misc
3 #include <BoostTestTargetConfig.h>
5 #include "SimpleMarkdown.hxx"
7 BOOST_AUTO_TEST_CASE( basic_markdown )
19 " * 2nd list, another item\n"
20 " * 2nd list, one more..."
22 std::string const out(
24 "\xE2\x80\xA2 list item\n"
25 "\xE2\x80\xA2 another item\n"
29 "\xE2\x80\xA2 2nd list, another item\n"
30 "\xE2\x80\xA2 2nd list, one more..."
33 BOOST_CHECK_EQUAL(simgear::SimpleMarkdown::parse(src), out);