lists modification: insert, remove, offset-end indexing, comparison.

This commit is contained in:
sergeych committed 2025-05-30 11:02:52 +04:00
1 parent c18345823b
commit b56b5c521d
13 files changed
+285 -72

No files matched your search

@@ -795,6 +795,18 @@ class ScriptTest {
""".trimIndent())
}
@Test
fun testArrayCompare() = runTest {
eval("""
val a = [4,3]
val b = [4,3]
assert(a == b)
assert( a === a )
assert( !(a === b) )
assert( a !== b )
""".trimIndent())
}
// @Test
// fun testLambda1() = runTest {
// val l = eval("""