blob: 241e83a714a63f81b0a4504608b125935adc7be7 [file] [log] [blame]
#pragma once
#include <gmock/gmock.h>
#include "pid/controller.hpp"
class ControllerMock : public PIDController
{
public:
virtual ~ControllerMock() = default;
ControllerMock(const std::string& id, PIDZone* owner)
: PIDController(id, owner) {}
MOCK_METHOD0(input_proc, float());
MOCK_METHOD0(setpt_proc, float());
MOCK_METHOD1(output_proc, void(float));
};