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 NerfUS

TESTS/mocks/MockServomotor.hpp

Committer:
Maxime Dupuis
Date:
2017-03-11
Revision:
26:328f659fc1b3
Parent:
TESTS/MockServomotor.hpp@ 18:353fb432c03c

File content as of revision 26:328f659fc1b3:

#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