at:tutorial:appendix
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
at:tutorial:appendix [2020/02/05 21:00] – adding elisag | at:tutorial:appendix [2020/02/05 21:13] – adding elisag | ||
---|---|---|---|
Line 391: | Line 391: | ||
The files in the '' | The files in the '' | ||
+ | |||
Line 417: | Line 418: | ||
</ | </ | ||
- | '' | + | The '' |
=== Auxilary functions in the futures module ==== | === Auxilary functions in the futures module ==== | ||
Line 632: | Line 633: | ||
The files in the '' | The files in the '' | ||
+ | |||
==== Timing Utilities ==== | ==== Timing Utilities ==== | ||
Line 655: | Line 657: | ||
The timer module also defines a function '' | The timer module also defines a function '' | ||
- | The timer module defines | + | Finally, there is a variant |
+ | |||
+ | < | ||
+ | def testAsyncNearbyPlayerReply(){ | ||
+ | def nearbyPlayers := // search 2 nearby player orjbects; | ||
+ | // wait a bit so that there are the 2 members. | ||
+ | when: 2.seconds elapsedWithFuture: | ||
+ | self.assertEquals(2, | ||
+ | } | ||
+ | }; | ||
+ | </ | ||
==== Logging Framework ==== | ==== Logging Framework ==== |
at/tutorial/appendix.txt · Last modified: 2021/09/24 10:28 by elisag