ast unit test
Some checks failed
Build-StoryEditor / build_linux (push) Has been cancelled
Build-StoryEditor / build_win32 (push) Has been cancelled
Deploy-Documentation / deploy (push) Has been cancelled

This commit is contained in:
Anthony Rabine 2025-03-09 14:36:44 +01:00
parent d3a8b10120
commit af859d7085
2 changed files with 3 additions and 2 deletions

View file

@ -5,9 +5,9 @@
VariableNode::VariableNode(const std::string &type)
: BaseNode(type, "Function Node")
: BaseNode(type, "Variable Node")
{
nlohmann::json j{ {"function", ""} };
nlohmann::json j{ {"name", "i"}, {"value", 3} };
SetInternalData(j);
}

View file

@ -53,6 +53,7 @@ TEST_CASE( "Check various indentations and typos" ) {
std::vector<std::shared_ptr<Connection>> connections;
auto cn1 = std::make_shared<Connection>();
cn1->
// // Création des nœuds
// std::vector<Node> nodes = {