mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-06-03 00:15:15 +00:00
13 lines
276 B
Kotlin
13 lines
276 B
Kotlin
package dev.inmo.micro_utils.coroutines
|
|
|
|
import kotlin.test.Test
|
|
import kotlin.test.assertEquals
|
|
|
|
class LaunchSynchronouslyTest {
|
|
@Test
|
|
fun testRunInCoroutine() {
|
|
(0 .. 10000).forEach {
|
|
assertEquals(it, launchSynchronously { it })
|
|
}
|
|
}
|
|
} |