add tests for cruds

This commit is contained in:
2024-08-09 19:22:32 +06:00
parent 8d86f29325
commit b0569f8421
21 changed files with 585 additions and 9 deletions

View File

@@ -0,0 +1,20 @@
package full
import CommonKeyValueRepoTests
import dev.inmo.micro_utils.repos.*
import kotlinx.coroutines.test.TestResult
import kotlin.test.*
class InMemoryKeyValueRepoTests : CommonKeyValueRepoTests() {
override val repoCreator: suspend () -> KeyValueRepo<String, String> = { MapKeyValueRepo() }
@Test
override fun creatingWorksProperly(): TestResult {
return super.creatingWorksProperly()
}
@Test
override fun unsettingWorksProperly(): TestResult {
return super.unsettingWorksProperly()
}
}