1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
TG10: Test tangling of library macros.
@O@<tg10.out@>@{@-
@<Sloth@>
@<Walrus@>
@<Emu@>
@<Aardvark@>
@}
1. Ensure that the lowest level dominates.
@$@<Sloth@>@{Sloth level zero (correct) @}
@$@<Sloth@>@L@{Sloth level one@}
@$@<Sloth@>@L@L@{Sloth level two@}
@$@<Sloth@>@L@L@L@{Sloth level three@}
@$@<Sloth@>@L@L@L@L@{Sloth level four@}
@$@<Sloth@>@L@L@L@L@L@{Sloth level five@}
@$@<Walrus@>@L@L@L@{Walrus level three (correct)@}
@$@<Walrus@>@L@L@L@L@L@{Walrus level five@}
@$@<Emu@>@L@L@{Emu level two (correct)@}
@$@<Emu@>@L@L@L@{Emu level three@}
2. Ensure += is working properly.
@$@<Aardvark@>@L+=@{First aardvark level one text (correct)@+@}
@$@<Aardvark@>@L@L+=@{Second aardvark level two text@}
@$@<Aardvark@>@L+=@{First aardvark level one text (correct)@+@}
@$@<Aardvark@>@L@L+=@{Second aardvark level two text@}
End of tests.
|