home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega Top 1
/
os2_top1.zip
/
os2_top1
/
APPS
/
TEKST
/
FUNNEL_S
/
TESTS
/
SC28.FW
< prev
next >
Wrap
Text File
|
1992-05-27
|
1KB
|
35 lines
SC28: Test syntax checking of title typesetting directive.
1. Test less than four arguments (includes title).
Note: The title command pulls a hack treating the rest of the line after
two arguments as the string. So it can't detect an EXCESS of arguments!
@t title
@t title two
@t title two three
2. Test out bad font.
@t title slothfont left "Sloth"
3. Test out bad alignment.
@t title titlefont westward "Sloth"
4. Test out funny strings.
@t title titlefont left "
@t title titlefont left ""
@! Note: The following, believe it or not, is actually LEGAL!
@t title titlefont left "sloth"sloth"
5. Test out all combinations of font and alignment.
@t title titlefont left "Sloth"
@t title titlefont centre "Sloth"
@t title titlefont right "Sloth"
@t title smalltitlefont left "Sloth"
@t title smalltitlefont centre "Sloth"
@t title smalltitlefont right "Sloth"
@t title normalfont left "Sloth"
@t title normalfont centre "Sloth"
@t title normalfont right "Sloth"
6. Test misspelling of centre (Ross's revenge).
@t title normalfont center "Sloth"