MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / RunScript

Function RunScript

Engine/source/console/test/ScriptTest.cpp:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31#include "console/stringStack.h"
32
33inline ConsoleValue RunScript(const char* str)
34{
35 return std::move(Con::evaluate(str, false, NULL));
36}
37
38TEST(Script, Basic_Arithmetic)
39{

Callers 1

TESTFunction · 0.85

Calls 1

evaluateFunction · 0.85

Tested by

no test coverage detected