NoArduinoHeader.cpp 478 B

1234567891011121314151617181920
  1. // ArduinoJson - https://arduinojson.org
  2. // Copyright © 2014-2022, Benoit BLANCHON
  3. // MIT License
  4. #define ARDUINO 1
  5. #define ARDUINOJSON_ENABLE_PROGMEM 0
  6. #define ARDUINOJSON_ENABLE_ARDUINO_STRING 0
  7. #define ARDUINOJSON_ENABLE_ARDUINO_STREAM 0
  8. #define ARDUINOJSON_ENABLE_ARDUINO_PRINT 0
  9. #include <ArduinoJson.h>
  10. #include <catch.hpp>
  11. TEST_CASE("Arduino.h") {
  12. #ifdef ARDUINO_H_INCLUDED
  13. FAIL("Arduino.h should not be included");
  14. #else
  15. INFO("Arduino.h not included");
  16. #endif
  17. }