[rosidl_generator_cpp] Deterministic testing (#184)
[rosidl_generator_cpp] Deterministic testing (#184)

* replace random generated values with constant pattern

* remove useless function + add sanity check

ros2/rosidl,ros2/rosidl,ros2/rosidl,ros2/rosidl