Risk Calculator

This is an example of a loan risk calculator. It is a DOS program written in turbo pascal.


It is used to compute risk adjusted return on capital. Imagine that you needed to duplicate the functionality of this program but wanted to allow developers the lattitude to explore other interfaces. You might write specs/tests that focus on the calculations involved. Here is JoshuaKerievsky's first draft of just such a test, and the fixture he used to interpret it.

This is a work in progress. We expect a lot more from this example as long as we can keep alpha releases in Joshua's hands fast enough to keep him busy.


Last edited September 6, 2002
Return to WelcomeVisitors