From 6735499959a80d8ef38593520b9386023c83abb5 Mon Sep 17 00:00:00 2001 From: sergeych Date: Tue, 12 Aug 2025 14:57:52 +0300 Subject: [PATCH] more enum tests --- lynglib/src/commonTest/kotlin/ScriptTest.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lynglib/src/commonTest/kotlin/ScriptTest.kt b/lynglib/src/commonTest/kotlin/ScriptTest.kt index edb7e70..7dfbb43 100644 --- a/lynglib/src/commonTest/kotlin/ScriptTest.kt +++ b/lynglib/src/commonTest/kotlin/ScriptTest.kt @@ -2887,9 +2887,10 @@ class ScriptTest { val e = Lynon.encode(Color.BLUE) assertEquals( Color.BLUE, Lynon.decode(e) ) println(e.toDump()) - - val e1 = Lynon.encode( (1..100).map { Color.GREEN } ) + + val e1 = Lynon.encode( (1..1000).map { Color.GREEN } ) println(e1.toDump()) + assert( e1.size / 1000.0 < 6) println(Lynon.encode( (1..100).map { "RED" } ).toDump() ) """.trimIndent())