// ArduinoJson - https://arduinojson.org // Copyright © 2014-2024, Benoit BLANCHON // MIT License #include #include #include using Catch::Matchers::StartsWith; TEST_CASE("ARDUINOJSON_VERSION") { std::stringstream version; version << ARDUINOJSON_VERSION_MAJOR << "." << ARDUINOJSON_VERSION_MINOR << "." << ARDUINOJSON_VERSION_REVISION; REQUIRE_THAT(ARDUINOJSON_VERSION, StartsWith(version.str())); }