Skip to content

Commit

Permalink
bug(#3686): more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Dec 17, 2024
1 parent 4a117ac commit bc13278
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions eo-runtime/src/test/eo/org/eolang/malloc-tests.eo
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,15 @@
m.copy 1 2 2
m.get.eq 01-02-02-03-05

# This unit test is supposed to check the functionality of the corresponding object.
[] > copies-data-from-start-to-end
malloc.for > @
01-02-03-04-05-06
[m]
and. > @
m.copy 0 3 3
m.get.eq 01-02-03-01-02-03

# This unit test is supposed to check the functionality of the corresponding object.
[] > throws-on-copying-with-wrong-source
malloc.for > @
Expand Down

0 comments on commit bc13278

Please sign in to comment.