Any black box module must have an accompanying unit test code program. The purpose of this program is not only to test all aspects of the black box but also to demonstrate its operational capabilities. The unit test code must have the ability to exercise any and all modes or functions contained within the module. It must also be designed in such a way that running it will expose any errors or bugs that may be present. Applying the Black Box Model Applying the Black Box Model to Array Basic applications involves not only development of new applications but existing applications as well.
New applications have no code written as yet.
In order to apply the model in these cases, the application must be broken down into two groups - the User Interface and the Application modules. These may consist of dialogs, direct manipulation of the view, etc. The Application modules consist of all codes that perform the application's primary purpose. Once all application specific modules have been identified, these may be broken down further into Black Box models with a support structure that links them together. The programmer then has to consult the library of available algorithms and take the ones that apply to the program.