mirror of
https://github.com/arabine/open-story-teller.git
synced 2025-12-06 17:09:06 +01:00
ast unit test
This commit is contained in:
parent
d3a8b10120
commit
af859d7085
2 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue