fun <T> Assert<Array<T>>.contains(element: Any?): Unit
Platform and version requirements: Common
Asserts the array contains the expected element, using in.
See Also
fun Assert<Iterable<*>>.contains(element: Any?): Unit
Platform and version requirements: Common
Asserts the iterable contains the expected element, using in.
See Also
fun <K, V> Assert<Map<K, V>>.contains(key: K, value: V): Unit
Platform and version requirements: Common
fun <K, V> Assert<Map<K, V>>.contains(element: Pair<K, V>): Unit
Platform and version requirements: Common
Asserts the map contains the expected key-value pair.
See Also
fun Assert<String>.contains(other: CharSequence, ignoreCase: Boolean = false): Unit
Platform and version requirements: Common
Asserts the string contains the expected string.
ignoreCase - true to compare ignoring case, the default if false.
@JvmName("byteArrayContains") fun Assert<ByteArray>.contains(element: Byte): Unit
Asserts the ByteArray contains the expected element, using in.
See Also
@JvmName("intArrayContains") fun Assert<IntArray>.contains(element: Int): Unit
Asserts the IntArray contains the expected element, using in.
See Also
@JvmName("shortArrayContains") fun Assert<ShortArray>.contains(element: Short): Unit
Asserts the ShortArray contains the expected element, using in.
See Also
@JvmName("longArrayContains") fun Assert<LongArray>.contains(element: Long): Unit
Asserts the LongArray contains the expected element, using in.
See Also
@JvmName("floatArrayContains") fun Assert<FloatArray>.contains(element: Float): Unit
Asserts the FloatArray contains the expected element, using in.
See Also
@JvmName("doubleArrayContains") fun Assert<DoubleArray>.contains(element: Double): Unit
Asserts the DoubleArray contains the expected element, using in.
See Also
@JvmName("charArrayContains") fun Assert<CharArray>.contains(element: Char): Unit
Asserts the CharArray contains the expected element, using in.
See Also