Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph-python
Commits
ded79527
Commit
ded79527
authored
Mar 05, 2014
by
olivier stasse
Browse files
Merge pull request #9 from gergondet/topic/RemoveTestForDeprecatedFunction
Remove test for deprecated function
parents
72446bce
3bc82e0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
unitTesting/interpreter-test.cc
View file @
ded79527
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment