mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			303 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			303 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| // ArduinoJson - arduinojson.org
 | |
| // Copyright Benoit Blanchon 2014-2018
 | |
| // MIT License
 | |
| 
 | |
| #include <ArduinoJson.h>
 | |
| #include <catch.hpp>
 | |
| 
 | |
| TEST_CASE("JsonObject basics") {
 | |
|   DynamicJsonDocument doc;
 | |
|   JsonObject obj = doc.to<JsonObject>();
 | |
| 
 | |
|   SECTION("isNull()") {
 | |
|     REQUIRE(obj.isNull() == false);
 | |
|   }
 | |
| }
 |