This commit is contained in:
2024-05-29 12:15:12 +03:00
parent 2acb97e973
commit 9e13bf0d74
5 changed files with 38 additions and 14 deletions

View File

@@ -39,4 +39,19 @@ TEST_CASE("[ADC NET MESSAGE]")
std::cout << "MESSAGE: [" << bb << "]\n";
REQUIRE_EQ(bb, bytes);
// msg.setKeyParam("GET", "IMAGE", std::string_view("CROP"), 4, 7, std::make_pair(10, 20));
msg.setKeyParam("GET", "IMAGE", std::string_view("CROP"), 4, 7);
bb.clear();
msg.bytes(bb);
std::cout << "MSG: [" << bb << "]\n";
key.clear();
msg.key(key);
std::cout << "KEY: [" << key << "]\n";
ls.clear();
msg.params(ls, 1, 3);
for (auto& el : ls) {
std::cout << "PAR: [" << el << "]\n";
}
}