mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-20 00:32:37 +01:00
test
This commit is contained in:
@@ -1499,6 +1499,9 @@ void Test_Berry_JSON() {
|
||||
|
||||
CMD_ExecuteCommand("berry import json; setChannel(11, 1000+json.load('{\"a\": 567}')[\"a\"])", 0);
|
||||
SELFTEST_ASSERT_CHANNEL(11, 1000+567);
|
||||
|
||||
CMD_ExecuteCommand("berry import json; setChannel(11, 1000+json.load('{\"a\": {\"b\": 678}}')[\"a\"][\"b\"])", 0);
|
||||
SELFTEST_ASSERT_CHANNEL(11, 1000 + 678);
|
||||
}
|
||||
extern const char *owm_sample_reply;
|
||||
void Test_Berry_OpenWeatherMap() {
|
||||
|
||||
Reference in New Issue
Block a user