继续优化平衡控制,多次连续跳跃,毫无压力。
增加原地起立功能。 简化控制,通过 esp32 遥控器直接控制,无需配网。 遥控器地址:#小程序://闲鱼/4I7SlDlYRnybNWd
This commit is contained in:
1 parent
21770c9531
commit
78bad24dc0
694 files changed
+2022
-54
No files matched your search
@@ -0,0 +1,26 @@
|
||||
// ArduinoJson - https://arduinojson.org
|
||||
// Copyright © 2014-2023, Benoit BLANCHON
|
||||
// MIT License
|
||||
|
||||
#include <ArduinoJson.h>
|
||||
#include <catch.hpp>
|
||||
|
||||
#include <sstream>
|
||||
|
||||
TEST_CASE("deserializeMsgPack() returns EmptyInput") {
|
||||
StaticJsonDocument<100> doc;
|
||||
|
||||
SECTION("from sized buffer") {
|
||||
DeserializationError err = deserializeMsgPack(doc, "", 0);
|
||||
|
||||
REQUIRE(err == DeserializationError::EmptyInput);
|
||||
}
|
||||
|
||||
SECTION("from stream") {
|
||||
std::istringstream input("");
|
||||
|
||||
DeserializationError err = deserializeMsgPack(doc, input);
|
||||
|
||||
REQUIRE(err == DeserializationError::EmptyInput);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user