3#include <catch2/catch_all.hpp>
7TEST_CASE(
"Command::Command()",
"[Protocol][Protocol::Message]")
11 auto identifier = GENERATE(
12 "x",
"it",
"long_identifier",
"sequence_identifier[4]",
"nested_sequence_identifier[4][423]");
19 GENERATE(
"",
" ",
" x",
"2",
"4x",
"identifier with space",
"identifier-with-dash");
Protocol command representation.
std::string identifier
The variable or parameter name being assigned.
Represents a command invocation in the protocol.
CHECK(m.identifier==identifier)
irsol::protocol::Assignment m(identifier, value)
CHECK_THROWS_AS(irsol::protocol::Assignment(identifier, value), std::invalid_argument)