Hotwheels-Cluster 1.2
Creation of Cluster APP for SEA:ME project.
 
Loading...
Searching...
No Matches
MockBatteryController.hpp
Go to the documentation of this file.
1
17
18#ifndef MOCKBATTERYCONTROLLER_HPP
19#define MOCKBATTERYCONTROLLER_HPP
20
22#include <gmock/gmock.h>
23
29{
30public:
32 MOCK_METHOD(float, getBatteryPercentage, (), (override));
33};
34
35#endif // MOCKBATTERYCONTROLLER_HPP
Definition of the IBatteryController interface.
Interface for managing the battery of the vehicle.
virtual float getBatteryPercentage()=0
Class to emulate the behavior of the BatteryController module.
MOCK_METHOD(float, getBatteryPercentage,(),(override))
Mocked method to get the battery percentage.