diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-08 11:45:32 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-08 11:45:32 +0200 |
commit | 3941006bf022a066499390d7f7aff99fea64aa50 (patch) | |
tree | fadba9d27c2d688c76a056ac0bef9e5214f1209e /tests/unit | |
parent | Further rewrite of testrunner. (diff) | |
download | calp-3941006bf022a066499390d7f7aff99fea64aa50.tar.gz calp-3941006bf022a066499390d7f7aff99fea64aa50.tar.xz |
Document atomic types.
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/util/atomic-queue.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/util/atomic-queue.scm b/tests/unit/util/atomic-queue.scm index 428f4457..07ec0329 100644 --- a/tests/unit/util/atomic-queue.scm +++ b/tests/unit/util/atomic-queue.scm @@ -15,6 +15,9 @@ (enqueue! 4 q) +(test-equal "Returned order when extracting list" + '(2 3 4) (queue->list q)) + (test-equal 2 (dequeue! q)) (test-equal 3 (dequeue! q)) (test-equal 4 (dequeue! q)) |