more stdlib and docs

This commit is contained in:
sergeych committed 2025-12-24 18:56:30 +01:00
1 parent cd2b1a9cb7
commit 5586e027ea
4 files changed
+98 -15

No files matched your search

@@ -106,4 +106,11 @@ class StdlibTest {
assertEquals([1,2,3,4,5,6], [1,3,5].flatMap { [it,it+1] }.toList() )
""")
}
@Test
fun testCount() = runTest {
eval("""
assertEquals(5, (1..10).toList().count { it % 2 == 1 } )
""")
}
}