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:00 May 16th, 2006|Uncategorized|0 Comments

Leave A Comment

61 + = 65