home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / zip / program / funnel.zoo / tests / wv03.fw < prev    next >
Text File  |  1993-04-11  |  1KB  |  65 lines

  1. WV03: Test the typesetting of various kinds of macros.
  2.  
  3. First create an output file to keep the analyser happy.
  4. @O@<wv03.out@>@{@}
  5.  
  6. 1. Test macro never used.
  7. @$@<Never Used@>@Z@{@}
  8.  
  9. 2. Test a macro used once.
  10. @$@<Used Once@>@{@}
  11.  
  12. 3. Test a macro used twice.
  13. @$@<Used Twice@>@M@{@}
  14.  
  15. 4. Test a macro used three times.
  16. @$@<Used Thrice@>@M@{@}
  17.  
  18. 5. Test a macro used five times.
  19. @$@<Used Quice@>@M@{@}
  20.  
  21. Here is the macro that does all the calling for the above.
  22. @$@<Dummy1@>@Z@{@-
  23. @<Used Once@>
  24. @<Used Twice@>
  25. @<Used Thrice@>
  26. @<Used Quice@>
  27. @}
  28.  
  29. @$@<Dummy2@>@Z@{@-
  30. @<Used Twice@>
  31. @<Used Thrice@>
  32. @<Used Quice@>
  33. @}
  34.  
  35. @$@<Dummy3@>@Z@{@-
  36. @<Used Thrice@>
  37. @<Used Quice@>
  38. @}
  39.  
  40. @$@<Dummy4@>@Z@{@-
  41. @<Used Quice@>
  42. @}
  43.  
  44. @$@<Dummy5@>@Z@{@-
  45. @<Used Quice@>
  46. @}
  47.  
  48. 6. Test a macro with two body parts.
  49. @$@<Two body parts@>@Z+=@{Sloth@}
  50. @$@<Two body parts@>+=@{Walrus@}
  51.  
  52. 7. Test a macro with three body parts.
  53. @$@<Three body parts@>@Z+=@{Sloth@}
  54. @$@<Three body parts@>+=@{Walrus@}
  55. @$@<Three body parts@>+=@{Aardvaark@}
  56.  
  57. 8. Test a macro with five body parts.
  58. @$@<Five body parts@>@Z+=@{Sloth@}
  59. @$@<Five body parts@>+=@{Walrus@}
  60. @$@<Five body parts@>+=@{@<Three body parts@>@}
  61. @$@<Five body parts@>+=@{Aardvaark@}
  62. @$@<Five body parts@>+=@{@<Two body parts@>@}
  63.  
  64.  
  65.