adapt gradle files for new tests

This commit is contained in:
2025-02-26 22:01:39 +06:00
parent 98c7b48625
commit 85f11439e8
5 changed files with 11 additions and 9 deletions

View File

@@ -8,6 +8,8 @@ import kotlinx.coroutines.test.runTest
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertTrue
import kotlin.time.Duration.Companion.seconds
import kotlin.time.measureTime
class SortedBinaryTreeNodeTests {
@Test
@@ -42,7 +44,7 @@ class SortedBinaryTreeNodeTests {
}
}
@Test
fun deepInsertOnWorks() = runTest {
fun deepInsertOnWorks() = runTest(timeout = 320.seconds) { // 320 due to js targets -.-
val zeroNode = SortedBinaryTreeNode(0)
val rangeRadius = 500
val nodes = mutableMapOf<Int, SortedBinaryTreeNode<Int>>()