Skip to content

Commit

Permalink
list-tests works
Browse files Browse the repository at this point in the history
  • Loading branch information
levBagryansky committed Oct 20, 2022
1 parent e6c29ee commit 8998542
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion src/test/eo/org/eolang/threads/thread-test.eo
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@
# SOFTWARE.

+alias org.eolang.hamcrest.assert-that
+alias org.eolang.sys.call
+alias org.eolang.threads.thread
+alias org.eolang.threads.sleep
+alias org.eolang.collections.list
+architect [email protected]
+home https:/objectionary/eo-threads
+junit
+package org.eolang.threads
+version 0.0.0

TRUE > call

[] > thread-returns-string
thread "hello" > t
seq > @
Expand Down Expand Up @@ -233,3 +235,34 @@
t.stop
$.equal-to
TRUE

[] > list-tests
memory 0 > m
[size mem] > my-list
if. > @
size.lte 0
list *
with.
my-list
size.minus 1
mem
thread
mem.write
mem.plus 1
my-list 3 m > l
seq > @
reduced.
l
TRUE
[a x]
and. > @
a
x.started
reduced.
l
0
[a x]
plus. > @
a
x.join
TRUE

0 comments on commit 8998542

Please sign in to comment.