AYAB Arduino Firmware 0.95
The goal of the AYAB project is to provide an alternative way to control the famous Brother KH-9xx range of knitting machines using a computer
solenoids_mock.h
Go to the documentation of this file.
1
24#ifndef SOLENOIDS_MOCK_H_
25#define SOLENOIDS_MOCK_H_
26
27#include <gmock/gmock.h>
28#include <solenoids.h>
29
31public:
32 MOCK_METHOD0(init, void());
33 MOCK_METHOD2(setSolenoid, void(uint8_t, bool));
34 MOCK_METHOD1(setSolenoids, void(uint16_t state));
35};
36
37SolenoidsMock *solenoidsMockInstance();
38void releaseSolenoidsMock();
39
40#endif // SOLENOIDS_MOCK_H_
Definition solenoids.h:40
Definition solenoids_mock.h:30