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/MockServomotor.hpp
- Revision:
- 26:328f659fc1b3
- Parent:
- 18:353fb432c03c
diff -r 0f2d698ecb3e -r 328f659fc1b3 TESTS/mocks/MockServomotor.hpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TESTS/mocks/MockServomotor.hpp Sat Mar 11 13:44:32 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