Iterations and Testability

A streaming system is easier to test if modelled at its smallest resolution.

For example, in stream.render(window), window could be a floating-point time window in seconds. If your system has a resolution of 1 nano second, make stream.render call stream.render_nano(). That way if you know render_nano works, you can safely move to testing render() all together.

By |2006-05-16T22:51:00+00:00May 16th, 2006|Uncategorized|0 Comments

Leave A Comment

82 + = 92

This site uses Akismet to reduce spam. Learn how your comment data is processed.