From bc13278e4c112768c1797b9ea165e25e9626ae67 Mon Sep 17 00:00:00 2001 From: maxonfjvipon Date: Tue, 17 Dec 2024 15:44:52 +0300 Subject: [PATCH] bug(#3686): more tests --- eo-runtime/src/test/eo/org/eolang/malloc-tests.eo | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/eo-runtime/src/test/eo/org/eolang/malloc-tests.eo b/eo-runtime/src/test/eo/org/eolang/malloc-tests.eo index 5f0835c7ce..567eddc29a 100644 --- a/eo-runtime/src/test/eo/org/eolang/malloc-tests.eo +++ b/eo-runtime/src/test/eo/org/eolang/malloc-tests.eo @@ -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 > @