Next / Previous / Contents / Shipman's homepage

7. fosoxtest: A small test driver

Here is a complete script that generates a small document with a complex page layout: different page layouts for odd and even pages, for double-sided printing.

This script uses the conventions of the Cleanroom software methodology; the comments in [ square brackets ] are Cleanroom intended functions. For more on this methodology, see the author's Cleanroom page.

7.1. fosoxtest: Prologue

The first lines make this script self-executing under Unix, and also refer the reader back to this documentation.

#!/usr/bin/env python
# fosoxtest: Test driver for module
#   Do not edit this file directly.  It is mechanically extracted
#   from the documentation: