next up previous contents index
Next: Turning On Screen Output Up: Beginners Previous: Basic Tests   Contents   Index

Fancy test program- DOES NOT WORK

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 30.3.1.

Enter Mathematica
$ \ll$ NCGBTEST

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

??test.

You should get

test #00 $ \to$ True
test #01 $ \to$ True
test #02 $ \to$ True
etc.

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!


next up previous contents index
Next: Turning On Screen Output Up: Beginners Previous: Basic Tests   Contents   Index
NCAlgebra Project 2002-09-09