blob: 669c1d961887034fb3e9a6976250118da6dffff5 [file] [log] [blame]
Patrick Venture62463932018-06-08 18:47:46 -07001#pragma once
2
3#include "interfaces.hpp"
4
Patrick Venture40be36a2018-08-29 15:57:11 -07005#include <gmock/gmock.h>
6
Patrick Venturea0764872020-08-08 07:48:43 -07007namespace pid_control
8{
9
Patrick Venture62463932018-06-08 18:47:46 -070010class WriteInterfaceMock : public WriteInterface
11{
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070012 public:
13 virtual ~WriteInterfaceMock() = default;
Patrick Venture62463932018-06-08 18:47:46 -070014
Patrick Williams8c051122023-05-10 07:50:59 -050015 WriteInterfaceMock(int64_t min, int64_t max) : WriteInterface(min, max) {}
Patrick Venture62463932018-06-08 18:47:46 -070016
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070017 MOCK_METHOD1(write, void(double));
Patrick Venture62463932018-06-08 18:47:46 -070018};
Patrick Venturea0764872020-08-08 07:48:43 -070019
20} // namespace pid_control