working tests/adc_asio_netserver_test.cpp

This commit is contained in:
Timur A. Fatkhullin
2024-11-02 21:02:41 +03:00
parent 2f46b08c8e
commit 75b42f40e5
4 changed files with 69 additions and 32 deletions

View File

@@ -66,7 +66,7 @@ TEST_CASE("[ADC DEVICE ATTRIBUTE]")
auto ar1 = ar;
std::cout << "ATTR1_RO = " << (double)ar1 << "\n";
auto ar2(ar1);
auto ar2(std::move(ar1));
std::cout << "ATTR2_RO = " << (double)ar2 << "\n";
std::cout << "ATTR2_RO_SER = " << ar2.serialize() << "\n";