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
TESTS/mocks/MockTarget.hpp
- Committer:
- Maxime Dupuis
- Date:
- 2017-04-12
- Revision:
- 51:6bf268cd1a1b
- Parent:
- 29:049a2f46c738
File content as of revision 51:6bf268cd1a1b:
#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