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/MockLedController.hpp@51:6bf268cd1a1b, 2017-04-12 (annotated)
- Committer:
- Maxime Dupuis
- Date:
- Wed Apr 12 10:33:32 2017 -0400
- Revision:
- 51:6bf268cd1a1b
- Parent:
- 26:328f659fc1b3
Update tests to ignore target hits before 750ms threshold
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Maxime Dupuis |
18:353fb432c03c | 1 | #ifndef MOCK_LED_CONTROLLER_HPP |
Maxime Dupuis |
18:353fb432c03c | 2 | #define MOCK_LED_CONTROLLER_HPP |
Maxime Dupuis |
18:353fb432c03c | 3 | |
Maxime Dupuis |
18:353fb432c03c | 4 | #include "LedControllerInterface.hpp" |
Maxime Dupuis |
18:353fb432c03c | 5 | |
Maxime Dupuis |
18:353fb432c03c | 6 | class MockLedController : public LedControllerInterface |
Maxime Dupuis |
18:353fb432c03c | 7 | { |
Maxime Dupuis |
18:353fb432c03c | 8 | public: |
Maxime Dupuis |
18:353fb432c03c | 9 | MOCK_METHOD0(turn_on, void()); |
Maxime Dupuis |
18:353fb432c03c | 10 | MOCK_METHOD0(turn_off, void()); |
Maxime Dupuis |
18:353fb432c03c | 11 | }; |
Maxime Dupuis |
18:353fb432c03c | 12 | |
Maxime Dupuis |
18:353fb432c03c | 13 | #endif |