Files
OpenMQTT-Gateway/lib/IRremoteESP8266/test/IRrecv_test.h
T
Florian b12ee19979 Ir esp8266 lib update and code impacts (#235)
* integrate new IRremoteESP8266 lib 2.4.2 and add new protocols

IR_RC6
IR_MITSUBISHI
IR_GICABLE
IR_MITSUBISHI2
IR_LASERTAG
IR_CARRIER_AC
IR_MIDEA
IR_NIKAI
IR_SHERWOOD
IR_DENON
IR_AIWA_RC_T501
IR_JVC
2018-07-22 16:44:10 +02:00

15 lines
431 B
C++

// Copyright 2017 David Conran
#ifndef TEST_IRRECV_TEST_H_
#define TEST_IRRECV_TEST_H_
#include <iostream>
#include <sstream>
#include <string>
#include "IRutils.h"
#define EXPECT_STATE_EQ(a, b, c) for (uint8_t i = 0; i < c / 8; ++i) {\
EXPECT_EQ(a[i], b[i]) << "Expected state "\
"differs at i = " << uint64ToString(i); }
#endif // TEST_IRRECV_TEST_H_