I want to write some tests around code that deals with Signals.
For instance, I'd like to test a
function that converts a one-time signal (containing several events) into a series of signals (each containing one event).
It had a bug in it (since fixed) that would have been lovely to catch in a property. "If I send in N events, I receive N event messages within (N*3 + a bit) seconds"
But ... how does one test with Signals? I could fake the input easily enough. But getting the output? How would one get, say, "All the messages that come in within 20 seconds" in order to compare them to others?