runTest that should work as it works in test project

This commit is contained in:
PlaceboAddict authored and kildishevps committed 2025-01-22 23:07:02 +03:00
1 parent ccb47be795
commit 9f7fc6e379
3 files changed
+23

No files matched your search

@@ -0,0 +1,9 @@
package com.ionspin.kotlin.crypto.debug
/**
* Created by Ugljesa Jovanovic
* ugljesa.jovanovic@ionspin.com
* on 08-Feb-2021
*/
class DebugTest {
}
@@ -0,0 +1,4 @@
package com.ionspin.kotlin.crypto.secretstream
actual fun modifyState(state: SecretStreamState, forceNonce: UByteArray) {
}
@@ -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)
}
}