We do not trust our testing programs for NCGB much. They need work. The NCAlgebra test program is excellent.
There is an old testing program. We do not support or upgrade it but find it quite useful. It is GBTEST and the use of it is different as that described for NCGBTEST above. First you load the file GBTest.m . You run it by typing GBTEST[1,48] to run tests 1 thru 48, or for those with less patience GBTEST[12,28] to run tests 12 thru 28, etc.
Yet another class of specialized tests is run simply by loading the file NCGBXTEST99. These tests follow the format of the NCAlgebra tests NCTEST exactly. After you load the file
you hope to get True, True, printing to the screen. The tests in NCGBXTEST99 test programs which run under NCGB and were developed in 1999. They give NCGB a pretty good work out.
Someday we plan to integrate our testing procedures. As you see we now have a mixed bag of tests.
THE COMPAREING STEP DOES NOT WORK in 2001.
When you download NCGB from the net, the directories TestProblems and TestReference contain many files. Those in TestProblems supply mathematical exercises to the testing programs. Those in TestReference are the result of running NCGB in ideal circumstances.
To see if the version of NCGB you downloaded is complete and functioning load NCGBTEST, If you do not have write access to NC/NCGB/Testing you may have to change the variable $NC$TestResults$. TestingEnvironment.m defines the default depository for Test Result files. This is described in greater detail in Section 27.3.1.
Go get a cup of coffee or two cups of coffee or a good night’s sleep. When you come back look at the resulting screen output by typing
You should get
This tests your version of NCGB against answers obtained from the version we have. If they do not agree there is a problem (possibly minor). One must be very careful with NCGBTEST. If paths are set wrong, then it will find no files for either the reference answers or the new code you are testing and since these behaviors are identical NCGBTEST will return True, True, etc. which is of course False, False, False!