| 1 |
|
| 2 |
|
| 3 |
1. Test macro call with no parameters. |
| 4 |
"Teapot" = |
| 5 |
"Teapot" |
| 6 |
|
| 7 |
2. Test macro call with one parameter. |
| 8 |
"Left Testing Right" = |
| 9 |
"Left Testing Right" |
| 10 |
|
| 11 |
3. Test macro call with many parameters. |
| 12 |
"Left x Middle y Right" = |
| 13 |
"Left x Middle y Right" |
| 14 |
|
| 15 |
4. Test macro call as a parameter of another macro call. |
| 16 |
"Left Ostrich Middle Left Wombat Right Right" = |
| 17 |
"Left Ostrich Middle Left Wombat Right Right" |
| 18 |
|
| 19 |
5. Test expression recursive macro call. |
| 20 |
"[X[[Walrus]]Y]" = |
| 21 |
"[X[[Walrus]]Y]" |
| 22 |
|