lcm-proj / lcm

Lightweight Communications and Marshalling
GNU Lesser General Public License v2.1
944 stars 385 forks source link

Add test for read_next_event python binding #435

Closed ihilt closed 1 year ago

ihilt commented 1 year ago

The issue resolved by https://github.com/lcm-proj/lcm/pull/434 would fail the test case added in this PR. Adding this to the test suite seems like a good idea to guard against reverting unawares. A log of 10 messages, created by the existing lcm_log_writer example, is added since that was the most straightforward method of getting events into the test.