blob: 0aed48d39345785def644cd48c86a67b9279cf9f [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 Ventureda4a5dd2018-08-31 09:42:48 -070015 WriteInterfaceMock(int64_t min, int64_t max) : WriteInterface(min, max)
Patrick Venturea83a3ec2020-08-04 09:52:05 -070016 {}
Patrick Venture62463932018-06-08 18:47:46 -070017
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070018 MOCK_METHOD1(write, void(double));
Patrick Venture62463932018-06-08 18:47:46 -070019};
Patrick Venturea0764872020-08-08 07:48:43 -070020
21} // namespace pid_control