All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmTest.com.bkahlert.kommons.debug.PlainKtTestJvm.kt Maven / Gradle / Ivy

There is a newer version: 2.8.0
Show newest version
package com.bkahlert.kommons.debug

import com.bkahlert.kommons.test.testAll
import io.kotest.assertions.asClue
import io.kotest.matchers.shouldBe
import kotlin.test.Test

class PlainTestJvm {

    @Test fun plain_native_collection() = testAll {
        java.util.LinkedHashSet(listOf("foo", "bar")).asClue { it.isPlain shouldBe true }
    }

    @Test fun plain_native_map() = testAll {
        java.util.LinkedHashMap(mapOf("foo" to "bar", "baz" to null)).asClue { it.isPlain shouldBe true }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy