2 #include "gmock/gmock.h" 5 #include "ArduinoMock.h" 6 #include "FreeRTOSMock.h" 26 arduino = new::testing::NiceMock<ArduinoMock>();
27 rtos = new::testing::NiceMock<FreeRTOSMock>();
28 pid1 = new::testing::NiceMock<PIDMock>();
29 pid2 = new::testing::NiceMock<PIDMock>();
32 dcm1 =
new DCMotor(1,2,3,4,5,pid1);
33 dcm2 =
new DCMotor(11,12,13,14,15,pid2);
40 arduino = new::testing::NiceMock<ArduinoMock>();
41 rtos = new::testing::NiceMock<FreeRTOSMock>();
42 pid1 = new::testing::NiceMock<PIDMock>();
43 pid2 = new::testing::NiceMock<PIDMock>();
48 virtual void TearDown()
void reset()
Definition: DCMotor.cpp:61
Definition: FreeRTOSMock.h:9
Definition: ArduinoMock.h:17
Definition: RoboboTests.h:12
Definition: ArduinoMock.h:7