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/MockServomotor.hpp
- Revision:
- 18:353fb432c03c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TESTS/MockServomotor.hpp Wed Mar 08 12:24:17 2017 -0500 @@ -0,0 +1,14 @@ +#ifndef MOCK_SERVOMOTOR_HPP +#define MOCK_SERVOMOTOR_HPP + +#include "ServomotorInterface.hpp" + +class MockServomotor : public ServomotorInterface +{ + public: + MOCK_METHOD0(set_position_up, void()); + MOCK_METHOD0(set_position_down, void()); + MOCK_METHOD1(set_angle, void(const float angle_degree)); +}; + +#endif