#include "TestUiApplication.h" #include "TestFramework.h" #include "RectangleNode.h" #include "TextNode.h" #include #include #include TEST_CASE(TestD2dRendering, "graphics") { auto gui_app = TestCaseRunner::getInstance().getTestApplication(); auto scene = gui_app->getMainWindowScene(); auto rect = std::make_unique(Point(10, 10), 200.0, 200.0); scene->addNode(rect.get()); auto text_node = std::make_unique("Test2", Point(100, 100)); scene->addNode(text_node.get()); scene->update(); gui_app->run(); };