From 6f1a85165f5eb36a56d76e6b43f805ff8c33dce2 Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Thu, 16 Oct 2025 06:22:30 +0700 Subject: [PATCH] more tests --- develop/testing/main_tests.lua | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/develop/testing/main_tests.lua b/develop/testing/main_tests.lua index 61ced45..9917c5e 100644 --- a/develop/testing/main_tests.lua +++ b/develop/testing/main_tests.lua @@ -7067,3 +7067,31 @@ do assert(process_order == '132') end end + +do + local f1, f2 = evo.id(2) + evo.set(f1, evo.NAME, 'f1') + evo.set(f2, evo.NAME, 'f2') + + do + local c1 = evo.chunk(f1) + assert(tostring(c1) == '') + + local c2 = evo.chunk(f2) + assert(tostring(c2) == '') + + local c12 = evo.chunk(f1, f2) + assert(tostring(c12) == '') + + local c21 = evo.chunk(f2, f1) + assert(tostring(c21) == '') + end + + do + local b = evo.builder():set(f1) + assert(tostring(b) == '') + + b:set(f1, 1):set(f2, 2) + assert(tostring(b) == '') + end +end