33TEST_CASE(
"zaberLowLevel utility helpers parse system.serial responses",
"[zaberUtils]" )
36 #ifdef ZABERLOWLEVEL_TEST_DOXYGEN_REF
37 parseSystemSerial( *(std::vector<int> *)
nullptr, *(std::vector<std::string> *)
nullptr,
"" );
41 std::string tstr =
"@01 0 OK IDLE WR 49822@02 0 OK IDLE WR 49820@03 0 OK IDLE WR 49821\n";
42 std::vector<int> address;
43 std::vector<std::string> serial;
47 REQUIRE( address[0] == 1 );
48 REQUIRE( address[1] == 2 );
49 REQUIRE( address[2] == 3 );
51 REQUIRE( serial[0] ==
"49822" );
52 REQUIRE( serial[1] ==
"49820" );
53 REQUIRE( serial[2] ==
"49821" );