Clean up bounded sequences check (#393)
Clean up bounded sequences check (#393)

* Clean up bounded sequences check

1. Use a macro to extract repeated logic
2. Check the sequence length so we get a test error message instead of segfaulting.
Signed-off-by: Dan Rose <2591e5f46f28d303f9dc027d475a5c60d8dea17a@digilabs.io>

* add missing include

Signed-off-by: Dan Rose <2591e5f46f28d303f9dc027d475a5c60d8dea17a@digilabs.io>

* Check strings better

Also, minor changes for clarity
Signed-off-by: Dan Rose <2591e5f46f28d303f9dc027d475a5c60d8dea17a@digilabs.io>

* rename EXPECT_RCSTR_EQ -> EXPECT_ROSIDLC_STREQ

Signed-off-by: Dan Rose <2591e5f46f28d303f9dc027d475a5c60d8dea17a@digilabs.io>

ros2/system_tests,ros2/system_tests