#pragma once extern "C" { #include "projectm-eval/TreeFunctions.h" }; #include #include class TreeFunctions : public testing::Test { public: protected: prjm_eval_variable_def_t* FindVariable(const char* name); prjm_eval_variable_def_t* CreateVariable(const char* name, PRJM_EVAL_F initialValue); prjm_eval_exptreenode_t* CreateEmptyNode(int argCount); prjm_eval_exptreenode_t* CreateConstantNode(PRJM_EVAL_F value); prjm_eval_exptreenode_t* CreateVariableNode(const char* name, PRJM_EVAL_F initialValue, prjm_eval_variable_def_t** variable); void SetUp() override; void TearDown() override; std::vector m_variables{}; std::vector m_treeNodes; };