home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / FUNNEL_S / TESTS / SC28.FW < prev    next >
Text File  |  1992-05-27  |  1KB  |  35 lines

  1. SC28: Test syntax checking of title typesetting directive.
  2.  
  3. 1. Test less than four arguments (includes title).
  4. Note: The title command pulls a hack treating the rest of the line after
  5. two arguments as the string. So it can't detect an EXCESS of arguments!
  6. @t title
  7. @t title two
  8. @t title two three
  9.  
  10. 2. Test out bad font.
  11. @t title slothfont left "Sloth"
  12.  
  13. 3. Test out bad alignment.
  14. @t title titlefont westward "Sloth"
  15.  
  16. 4. Test out funny strings.
  17. @t title titlefont left "
  18. @t title titlefont left ""
  19. @! Note: The following, believe it or not, is actually LEGAL!
  20. @t title titlefont left "sloth"sloth"
  21.  
  22. 5. Test out all combinations of font and alignment.
  23. @t title titlefont      left   "Sloth"
  24. @t title titlefont      centre "Sloth"
  25. @t title titlefont      right  "Sloth"
  26. @t title smalltitlefont left   "Sloth"
  27. @t title smalltitlefont centre "Sloth"
  28. @t title smalltitlefont right  "Sloth"
  29. @t title normalfont     left   "Sloth"
  30. @t title normalfont     centre "Sloth"
  31. @t title normalfont     right  "Sloth"
  32.  
  33. 6. Test misspelling of centre (Ross's revenge).
  34. @t title normalfont     center "Sloth"
  35.