Patrick Venture | 6246393 | 2018-06-08 18:47:46 -0700 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include "interfaces.hpp" | ||||
4 | |||||
Ed Tanous | f8b6e55 | 2025-06-27 13:27:50 -0700 | [diff] [blame^] | 5 | #include <cstdint> |
6 | |||||
Patrick Venture | 40be36a | 2018-08-29 15:57:11 -0700 | [diff] [blame] | 7 | #include <gmock/gmock.h> |
8 | |||||
Patrick Venture | a076487 | 2020-08-08 07:48:43 -0700 | [diff] [blame] | 9 | namespace pid_control |
10 | { | ||||
11 | |||||
Patrick Venture | 6246393 | 2018-06-08 18:47:46 -0700 | [diff] [blame] | 12 | class WriteInterfaceMock : public WriteInterface |
13 | { | ||||
Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 14 | public: |
Ed Tanous | d2768c5 | 2025-06-26 11:42:57 -0700 | [diff] [blame] | 15 | ~WriteInterfaceMock() override = default; |
Patrick Venture | 6246393 | 2018-06-08 18:47:46 -0700 | [diff] [blame] | 16 | |
Patrick Williams | 8c05112 | 2023-05-10 07:50:59 -0500 | [diff] [blame] | 17 | WriteInterfaceMock(int64_t min, int64_t max) : WriteInterface(min, max) {} |
Patrick Venture | 6246393 | 2018-06-08 18:47:46 -0700 | [diff] [blame] | 18 | |
Patrick Venture | da4a5dd | 2018-08-31 09:42:48 -0700 | [diff] [blame] | 19 | MOCK_METHOD1(write, void(double)); |
Patrick Venture | 6246393 | 2018-06-08 18:47:46 -0700 | [diff] [blame] | 20 | }; |
Patrick Venture | a076487 | 2020-08-08 07:48:43 -0700 | [diff] [blame] | 21 | |
22 | } // namespace pid_control |