mirror of
				https://github.com/bblanchon/ArduinoJson.git
				synced 2025-11-04 16:41:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			406 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			406 B
		
	
	
	
		
			C++
		
	
	
	
	
	
// ArduinoJson - arduinojson.org
 | 
						|
// Copyright Benoit Blanchon 2014-2018
 | 
						|
// MIT License
 | 
						|
 | 
						|
#include <ArduinoJson/version.hpp>
 | 
						|
#include <catch.hpp>
 | 
						|
#include <sstream>
 | 
						|
 | 
						|
TEST_CASE("ARDUINOJSON_VERSION") {
 | 
						|
  std::stringstream version;
 | 
						|
 | 
						|
  version << ARDUINOJSON_VERSION_MAJOR << "." << ARDUINOJSON_VERSION_MINOR
 | 
						|
          << "." << ARDUINOJSON_VERSION_REVISION;
 | 
						|
 | 
						|
  REQUIRE(version.str() == ARDUINOJSON_VERSION);
 | 
						|
}
 |