NerfUS mobile node that manages a target for the Nerf gun firing range
Dependencies: LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager
Fork of NerfUS by
Diff: TESTS/mocks/MockTarget.hpp
- Revision:
- 28:8fc53a870691
- Child:
- 29:049a2f46c738
diff -r 3ae7c62008ea -r 8fc53a870691 TESTS/mocks/MockTarget.hpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TESTS/mocks/MockTarget.hpp Mon Mar 27 18:34:07 2017 -0400 @@ -0,0 +1,17 @@ +#ifndef MOCK_TARGET_HPP +#define MOCK_TARGET_HPP + +#include "TargetInterface.hpp" + +class MockTarget : public TargetInterface +{ + public: + MOCK_METHOD0(ally_command, void()); + MOCK_METHOD0(enemy_command, void()); + MOCK_METHOD1(timeout, void(int)); + MOCK_METHOD1(hit, void(int)); +}; + + + +#endif