#pragma once #include #include #include class test_tests : public CxxTest::TestSuite { public: void test_compare() { TS_ASSERT(!xml_helper::compare_xml_exact("", "", true)); TS_ASSERT(!xml_helper::compare_xml_exact("", "", true)); TS_ASSERT(!xml_helper::compare_xml_exact("", "", true)); TS_ASSERT(!xml_helper::compare_xml_exact("", "", true)); TS_ASSERT(!xml_helper::compare_xml_exact("", "", true)); TS_ASSERT(!xml_helper::compare_xml_exact("text", "txet", true)); TS_ASSERT(!xml_helper::compare_xml_exact("text", "txet", true)); TS_ASSERT(xml_helper::compare_xml_exact("", " ", true)); TS_ASSERT(xml_helper::compare_xml_exact("", "", true)); TS_ASSERT(xml_helper::compare_xml_exact("text", "text", true)); } };