Thursday, February 18, 2010

Table Class – Testing and Release

Code was added to test each of the different type of searches to verify that the searches and the table entries were setup properly. Each search test looked for the first, last and some entry in the middle of the search group. Bad searches were included with each type. (Note that since there are currently no DataTypeWord entries in the table, only a bad searches were tested for this type.)

The main include has now been implemented named ibcp.h and only currently contains the definition needed for the Table class.  This file will contain all the definitions needed for this project - at least for now, but in the future may be reorganized into separate files if it becomes too large.  There is also a codes.txt file that lists all the current codes and their numeric values - sorted both alphabetically and numeric.  This file was very helpful during debugging and testing.  It was simply created by editing the Code enumeration into a new file.  There will probably be a future Tcl script to automatically create this file as new codes are added.

The ibcp_0.0.4-src.zip file has been uploaded at Sourceforge IBCP Project.  The binaries for the test programs have now also been uploaded so compilation is not necessary.  There's becoming quite a few test programs and test source and project files will probably be moving into a test subdirectory.