summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/motor/test_motor.cc
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/motor/test_motor.cc')
-rw-r--r--2005/i/robert/src/motor/test_motor.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/2005/i/robert/src/motor/test_motor.cc b/2005/i/robert/src/motor/test_motor.cc
index 477da41..9ccd4b8 100644
--- a/2005/i/robert/src/motor/test_motor.cc
+++ b/2005/i/robert/src/motor/test_motor.cc
@@ -99,6 +99,9 @@ main (int argc, char **argv)
throw std::runtime_error("syntax error");
motor.rotation(strtod(argv[i], 0));
break;
+ case 'J':
+ std::cout << "Etat du Jack: " << (motor.jackState() ? "Retiré" : "Dedans");
+ break;
}
break;
}