blob: 241e83a714a63f81b0a4504608b125935adc7be7 [file] [log] [blame]
Patrick Venture4bd518d2018-06-12 10:47:15 -07001#pragma once
2
3#include <gmock/gmock.h>
4
5#include "pid/controller.hpp"
6
7class ControllerMock : public PIDController
8{
9 public:
10 virtual ~ControllerMock() = default;
11
12 ControllerMock(const std::string& id, PIDZone* owner)
13 : PIDController(id, owner) {}
14
15 MOCK_METHOD0(input_proc, float());
16 MOCK_METHOD0(setpt_proc, float());
17 MOCK_METHOD1(output_proc, void(float));
18};