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/10 13:45] – elisag | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Appendix: Libraries ====== | ====== Appendix: Libraries ====== | ||
- | In the appendix, we explain useful libraries available to the AmbientTalk/ | + | In the appendix, we explain useful libraries available to the AmbientTalk/ |
+ | |||
+ | < | ||
+ | The Ambientalk standard library ('' | ||
+ | </ | ||
===== Unit Testing Framework ===== | ===== Unit Testing Framework ===== | ||
Line 391: | Line 395: | ||
The files in the '' | The files in the '' | ||
+ | |||
Line 417: | Line 422: | ||
</ | </ | ||
- | '' | + | The '' |
=== Auxilary functions in the futures module ==== | === Auxilary functions in the futures module ==== | ||
Line 632: | Line 637: | ||
The files in the '' | The files in the '' | ||
+ | |||
==== Timing Utilities ==== | ==== Timing Utilities ==== | ||
Line 655: | Line 661: | ||
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