jvmTest.com.bkahlert.kommons.debug.PlainKtTestJvm.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kommons-debug Show documentation
Show all versions of kommons-debug Show documentation
Kommons Debug is a Kotlin Multiplatform Library for print debugging.
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 }
}
}