2.5 Testing the Examples

For purposes of automatically checking the manual, the GAP examples in one chapter (the text between \beginexample and \endexample) should produce the same output, up to line breaks and whitespace, whenever they are run in the same order immediately after starting GAP (this will ensure that the global random number generator is initialized to the same values). For more details, see the last paragraph of Starting and Leaving GAP in the Tutorial.

To permit this automatic running, examples that shall produce error messages should be put between \begintt and \endtt such that they will not be seen by this automatic test.

The automatic test also requires that examples are not indented in the files; in the printed manual, the lines between \beginexample and \endexample and the lines between \begintt and \endtt are automatically indented.

[Top] [Previous] [Up] [Next] [Index]

GAP 4 manual
February 2000