| 13 | namespace mdf::test { |
| 14 | |
| 15 | TEST(TestCcComment, Properties) { |
| 16 | CcComment comment; |
| 17 | |
| 18 | constexpr std::string_view kTx = "CC Test Properties"; |
| 19 | comment.Comment(MdString(kTx)); |
| 20 | |
| 21 | const std::string xml_snippet = comment.ToXml(); |
| 22 | std::cout << xml_snippet << std::endl; |
| 23 | |
| 24 | CcComment comment1; |
| 25 | comment1.FromXml(xml_snippet); |
| 26 | EXPECT_EQ(comment1.Comment(), kTx); |
| 27 | } |
| 28 | |
| 29 | TEST(TestCcComment, CompuMethod) { |
| 30 | CcComment comment; |
nothing calls this directly
no test coverage detected