common/test/XML.cpp

12 lines
303 B
C++
Raw Normal View History

2022-12-30 16:57:19 -06:00
#include "common/XML.hpp"
#include "test/Test.hpp"
#include <storm/String.hpp>
TEST_CASE("XMLTree_Load", "[xml]") {
SECTION("loads new tree") {
auto xml = "<Root><Child1></Child1><Child2></Child2></Root>";
auto tree = XMLTree_Load(xml, SStrLen(xml));
REQUIRE(tree);
}
}