diff --git a/unitTesting/interpreter-test.cc b/unitTesting/interpreter-test.cc index 268ba304eda425e32d68a94dfa3ff8216852fbb8..a3db8ce6aae2a94b4f757dab62e469bf9da5d4d2 100644 --- a/unitTesting/interpreter-test.cc +++ b/unitTesting/interpreter-test.cc @@ -10,20 +10,12 @@ int main(int argc, char ** argv) dynamicgraph::python::Interpreter interp; std::string command; + std::string result; + std::string out; + std::string err; for (int i=0; i<numTest; ++i) { - //correct input - command = "print \"Hello world\""; - interp.python(command); - - //incorrect input - command = "print Hello"; - interp.python(command); - - std::string result; - std::string out; - std::string err; //correct input interp.python("print \"I am the interpreter\"", result, out, err); //incorrect input