blob: 7bf6f1cce4edfc2e9c154ce216b6a0461edf8bfb [file] [log] [blame]
Patrick Venture62463932018-06-08 18:47:46 -07001#pragma once
2
3#include "interfaces.hpp"
4
Ed Tanousf8b6e552025-06-27 13:27:50 -07005#include <cstdint>
6
Patrick Venture40be36a2018-08-29 15:57:11 -07007#include <gmock/gmock.h>
8
Patrick Venturea0764872020-08-08 07:48:43 -07009namespace pid_control
10{
11
Patrick Venture62463932018-06-08 18:47:46 -070012class WriteInterfaceMock : public WriteInterface
13{
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070014 public:
Ed Tanousd2768c52025-06-26 11:42:57 -070015 ~WriteInterfaceMock() override = default;
Patrick Venture62463932018-06-08 18:47:46 -070016
Patrick Williams8c051122023-05-10 07:50:59 -050017 WriteInterfaceMock(int64_t min, int64_t max) : WriteInterface(min, max) {}
Patrick Venture62463932018-06-08 18:47:46 -070018
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070019 MOCK_METHOD1(write, void(double));
Patrick Venture62463932018-06-08 18:47:46 -070020};
Patrick Venturea0764872020-08-08 07:48:43 -070021
22} // namespace pid_control