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