runTest that should work as it works in test project

This commit is contained in:
Maria Chernova 2024-12-26 00:54:34 +03:00 committed by kildishevps
parent ccb47be795
commit 9f7fc6e379
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,9 @@
package com.ionspin.kotlin.crypto.debug
/**
* Created by Ugljesa Jovanovic
* ugljesa.jovanovic@ionspin.com
* on 08-Feb-2021
*/
class DebugTest {
}

View File

@ -0,0 +1,4 @@
package com.ionspin.kotlin.crypto.secretstream
actual fun modifyState(state: SecretStreamState, forceNonce: UByteArray) {
}

View File

@ -0,0 +1,10 @@
package com.ionspin.kotlin.crypto.util
import kotlinx.coroutines.CoroutineScope
actual fun runTest(block: suspend (scope : CoroutineScope) -> Unit) {
kotlinx.coroutines.test.runTest {
block(this)
}
}